diff --git a/os_dep/linux/os_intfs.c b/os_dep/linux/os_intfs.c index aea29b5..1085d6c 100644 --- a/os_dep/linux/os_intfs.c +++ b/os_dep/linux/os_intfs.c @@ -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