1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-05 02:55:44 +00:00

USB3 fix in EEPROMUsbSwitch variable

* Fixed a problem in the EEPROMUsbSwitch (at least in tested 8814AU)
  This solutions NEEDS to be tested further.
This commit is contained in:
Christian kimocoder 2017-09-26 08:08:46 +02:00 committed by GitHub
parent 7e7c6cf85f
commit 4282ab4189

View File

@ -657,8 +657,8 @@ static int usb_reprobe_switch_usb_mode(PADAPTER Adapter)
u8 ret = _FALSE;
/* efuse not allow driver to switch usb mode */
if (pHalData->EEPROMUsbSwitch == _FALSE)
goto exit;
//if (pHalData->EEPROMUsbSwitch == _FALSE)
// goto exit;
/* registry not allow driver to switch usb mode */
if (registry_par->switch_usb_mode == 0)