mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-09 23:57:00 +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)
|
if (pnetdev)
|
||||||
rtw_netif_stop_queue(pnetdev);
|
rtw_netif_stop_queue(pnetdev);
|
||||||
|
|
||||||
#ifndef CONFIG_ANDROID
|
|
||||||
/* s2. */
|
/* s2. */
|
||||||
LeaveAllPowerSaveMode(padapter);
|
LeaveAllPowerSaveMode(padapter);
|
||||||
rtw_disassoc_cmd(padapter, 500, RTW_CMDF_WAIT_ACK);
|
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);
|
rtw_free_assoc_resources_cmd(padapter, _TRUE, RTW_CMDF_WAIT_ACK);
|
||||||
/* s2-4. */
|
/* s2-4. */
|
||||||
rtw_free_network_queue(padapter, _TRUE);
|
rtw_free_network_queue(padapter, _TRUE);
|
||||||
#endif
|
// Close LED
|
||||||
|
rtw_led_control(padapter, LED_CTL_POWER_OFF);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_BR_EXT
|
#ifdef CONFIG_BR_EXT
|
||||||
|
Loading…
Reference in New Issue
Block a user