qcacld-3.0: On PNO progress, issue PNO STOP during STA session close

In STA+AP concurrency case, driver fails to receive PNO STOP
indication from the upperlayer and thereby driver fails to send
same indication to FW, leading to a FW crash.
To mitigate this issue, during STA session close, issue PNO
stop indication to FW, if PNO is in progress.

Change-Id: If30e631fc5e8151cd5ecc66ff1d48627123a0a1e
CRs-Fixed: 2059793
This commit is contained in:
Hanumanth Reddy Pothula 2017-07-26 18:45:27 +05:30 • committed by snandini
commit 0586014fbf

View file

@ -4173,6 +4173,9 @@ QDF_STATUS hdd_stop_adapter(hdd_context_t *hdd_ctx, hdd_adapter_t *adapter,
#endif
#endif
if (adapter->device_mode == QDF_STA_MODE)
wlan_cfg80211_sched_scan_stop(hdd_ctx->hdd_pdev,
adapter->dev);
/*
* It is possible that the caller of this function does not
* wish to close the session