fix USB3 mode switch for 8814au

This commit is contained in:
kimocoder 2018-08-04 20:06:34 +02:00
parent c216e71c0c
commit 6b80d73669

View File

@ -2004,16 +2004,14 @@ hal_ReadUsbModeSwitch_8814AU(
IN BOOLEAN AutoloadFail
)
{
#if 0
if(AutoloadFail)
{
UsbModeSwitch_SetUsbModeMechOn(Adapter, _FALSE);
}
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(Adapter);
if (AutoloadFail)
pHalData->EEPROMUsbSwitch = _FALSE;
else
{
UsbModeSwitch_SetUsbModeMechOn(Adapter, ((PROMContent[8]&BIT1)>>1));
}
#endif
/* check efuse 0x0E bit2 */
pHalData->EEPROMUsbSwitch = (PROMContent[EEPROM_USB_MODE_8814A] & BIT1) >> 1;
}
static VOID