From: Oleksij Rempel Date: Fri, 5 Jul 2013 19:33:31 +0000 (+0200) Subject: k2_fw_usb_api: fix typo in usb reg address X-Git-Tag: 1.4.0~11^2~10 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=4fcff38e30f342187b26ad29bc30c74f2b4810ed;p=open-ath9k-htc-firmware.git k2_fw_usb_api: fix typo in usb reg address we was writing to wrond register. 0x100ae = ep3 0x100af = ep4 Signed-off-by: Oleksij Rempel --- diff --git a/target_firmware/magpie_fw_dev/target/hif/k2_fw_usb_api.c b/target_firmware/magpie_fw_dev/target/hif/k2_fw_usb_api.c index 8c1ac84..b549108 100755 --- a/target_firmware/magpie_fw_dev/target/hif/k2_fw_usb_api.c +++ b/target_firmware/magpie_fw_dev/target/hif/k2_fw_usb_api.c @@ -354,7 +354,7 @@ void _fw_usb_reset_fifo(void) volatile uint32_t *reg_data; HAL_BYTE_REG_WRITE(0x100ae, (HAL_BYTE_REG_READ(0x100ae)|0x10)); - HAL_BYTE_REG_WRITE(0x100ae, (HAL_BYTE_REG_READ(0x100af)|0x10)); + HAL_BYTE_REG_WRITE(0x100af, (HAL_BYTE_REG_READ(0x100af)|0x10)); // disable ep3 int enable, so that resume back won't send wdt magic pattern out!!! mUSB_STATUS_IN_INT_DISABLE();