mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
qcacld-3.0: Add idle shutdown for hostapd mode stop
Because FW don't support idle pdev suspend, and when all interface down host will not send wow enable command because wakeup is not expected. So the idle shutdown precedure is already there to prevent system go to idle pdev suspend state, but it only exist for station mode now, apply it to hostapd mode as well. Change-Id: I1b11b5bd038ea9ad23835f142e443ea11e90f55b CRs-Fixed: 2624453
This commit is contained in:
parent
f31f06bfa2
commit
64a2e6f892
1 changed files with 3 additions and 0 deletions
|
|
@ -534,6 +534,9 @@ static int __hdd_hostapd_stop(struct net_device *dev)
|
|||
WLAN_STOP_ALL_NETIF_QUEUE_N_CARRIER,
|
||||
WLAN_CONTROL_PATH);
|
||||
|
||||
if (!hdd_is_any_interface_open(hdd_ctx))
|
||||
hdd_psoc_idle_timer_start(hdd_ctx);
|
||||
|
||||
hdd_exit();
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue