mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
qcacld-3.0: Update check for disabling auto ps timer
Currently auto ps timer is disabled when device mode is not monitor mode. This is causing issue when device mode is FTM when ps timer won't be started. To resolve this, add check for FTM mode also before disabling auto ps timer. Change-Id: I7cf493f10676e170fcb7e50e343bb0d20de4d89c CRs-Fixed: 2667942
This commit is contained in:
parent
20cd5b4242
commit
03e71a88f3
1 changed files with 2 additions and 1 deletions
|
|
@ -4075,7 +4075,8 @@ static int __hdd_stop(struct net_device *dev)
|
|||
|
||||
mac_handle = hdd_ctx->mac_handle;
|
||||
|
||||
if (!wlan_hdd_is_session_type_monitor(adapter->device_mode)) {
|
||||
if (!wlan_hdd_is_session_type_monitor(adapter->device_mode) &&
|
||||
adapter->device_mode != QDF_FTM_MODE) {
|
||||
hdd_debug("Disabling Auto Power save timer");
|
||||
sme_ps_disable_auto_ps_timer(
|
||||
mac_handle,
|
||||
|
|
|
|||
Loading…
Reference in a new issue