mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-22 21:34:37 +00:00
Fix connection on resume when CONFIG_ANDROID enabled
This commit is contained in:
parent
4339edf38f
commit
cd02bae0a0
@ -3890,7 +3890,6 @@ static int netdev_close(struct net_device *pnetdev)
|
||||
if (pnetdev)
|
||||
rtw_netif_stop_queue(pnetdev);
|
||||
|
||||
#ifndef CONFIG_ANDROID
|
||||
/* s2. */
|
||||
LeaveAllPowerSaveMode(padapter);
|
||||
rtw_disassoc_cmd(padapter, 500, RTW_CMDF_WAIT_ACK);
|
||||
@ -3900,7 +3899,8 @@ static int netdev_close(struct net_device *pnetdev)
|
||||
rtw_free_assoc_resources_cmd(padapter, _TRUE, RTW_CMDF_WAIT_ACK);
|
||||
/* s2-4. */
|
||||
rtw_free_network_queue(padapter, _TRUE);
|
||||
#endif
|
||||
// Close LED
|
||||
rtw_led_control(padapter, LED_CTL_POWER_OFF);
|
||||
}
|
||||
|
||||
#ifdef CONFIG_BR_EXT
|
||||
|
Loading…
Reference in New Issue
Block a user