|
@@ -4075,7 +4075,8 @@ static int __hdd_stop(struct net_device *dev)
|
|
|
|
|
|
mac_handle = hdd_ctx->mac_handle;
|
|
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");
|
|
hdd_debug("Disabling Auto Power save timer");
|
|
sme_ps_disable_auto_ps_timer(
|
|
sme_ps_disable_auto_ps_timer(
|
|
mac_handle,
|
|
mac_handle,
|