1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2025-01-05 21:56:08 +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; u8 ret = _FALSE;
/* efuse not allow driver to switch usb mode */ /* efuse not allow driver to switch usb mode */
if (pHalData->EEPROMUsbSwitch == _FALSE) //if (pHalData->EEPROMUsbSwitch == _FALSE)
goto exit; // goto exit;
/* registry not allow driver to switch usb mode */ /* registry not allow driver to switch usb mode */
if (registry_par->switch_usb_mode == 0) if (registry_par->switch_usb_mode == 0)