From 6334f182c16efaac9093f835d08e1804acbcbc94 Mon Sep 17 00:00:00 2001 From: evilphish Date: Wed, 25 Oct 2017 22:21:57 +0200 Subject: [PATCH] Small beauty cleanup for the 8814 usb fix. --- hal/rtl8814a/usb/usb_halinit.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/hal/rtl8814a/usb/usb_halinit.c b/hal/rtl8814a/usb/usb_halinit.c index 0a40392..b134d5a 100644 --- a/hal/rtl8814a/usb/usb_halinit.c +++ b/hal/rtl8814a/usb/usb_halinit.c @@ -1974,24 +1974,13 @@ hal_ReadUsbModeSwitch_8814AU( IN BOOLEAN AutoloadFail ) { - HAL_DATA_TYPE *pHalData = GET_HAL_DATA(Adapter); if (AutoloadFail) pHalData->EEPROMUsbSwitch = _FALSE; else - /* check efuse 0x08 bit2 */ + /* check efuse 0x0E bit2 */ pHalData->EEPROMUsbSwitch = (PROMContent[EEPROM_USB_MODE_8814A] & BIT1) >> 1; - - /* if(AutoloadFail) - { - UsbModeSwitch_SetUsbModeMechOn(Adapter, _FALSE); - } - else - { - UsbModeSwitch_SetUsbModeMechOn(Adapter, ((PROMContent[8]&BIT1)>>1)); - }*/ - } static VOID