mirror of
https://github.com/chinawrj/rtl8812au
synced 2025-01-09 10:01:37 +00:00
fix USB3 mode switch for 8814au
This commit is contained in:
parent
c216e71c0c
commit
6b80d73669
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user