mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
qcacld-3.0: Honor NL80211_SCAN_FLAG_FLUSH scan flag
qcacld-2.0 to qcacld-3.0 propagation Honor NL80211_SCAN_FLAG_FLUSH scan flag by flushing sme and lim scan cache entries. Change-Id: I1ff59e583f815bfec2df458c58a40b30b7bffa00 CRs-Fixed: 934979
This commit is contained in:
parent
86669b3bbc
commit
94a6364efd
1 changed files with 4 additions and 1 deletions
|
|
@ -1550,7 +1550,10 @@ static int __wlan_hdd_cfg80211_scan(struct wiphy *wiphy,
|
|||
scan_req.requestType, scan_req.scanType,
|
||||
scan_req.minChnTime, scan_req.maxChnTime,
|
||||
scan_req.p2pSearch, scan_req.skipDfsChnlInP2pSearch);
|
||||
|
||||
#if (LINUX_VERSION_CODE > KERNEL_VERSION(3, 7, 0))
|
||||
if (request->flags & NL80211_SCAN_FLAG_FLUSH)
|
||||
sme_scan_flush_result(WLAN_HDD_GET_HAL_CTX(pAdapter));
|
||||
#endif
|
||||
status = sme_scan_request(WLAN_HDD_GET_HAL_CTX(pAdapter),
|
||||
pAdapter->sessionId, &scan_req,
|
||||
&hdd_cfg80211_scan_done_callback, dev);
|
||||
|
|
|
|||
Loading…
Reference in a new issue