diff options
| author | Selvaraj, Sridhar <sselvara@qti.qualcomm.com> | 2016-04-22 16:32:42 +0530 |
|---|---|---|
| committer | Anjaneedevi Kapparapu <akappa@codeaurora.org> | 2016-05-04 14:41:24 +0530 |
| commit | 2b7b78afad5ee3b9881c5cb76c817b56c3d4f9c8 (patch) | |
| tree | 0658d011d6369346623b76927daeaeccf3437110 | |
| parent | 1de56b5dfbc4733516ec7afbc9a51a59ff8ba309 (diff) | |
qcacld-2.0: Use BSSID for active scan if provided by supplicant
Presently, supplicant does not send bssid parameter as part of scan
command to driver. Since that support is added, use the bssid received
from scan command for active scan ie add the bssid as part of scan
offload command to firmware so as to send probe request with bssid
set with the one received as part of the scan command.
Change-Id: I97886b1dbd63fbca21fa410252df572f819df207
CRs-Fixed: 1010596
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_cfg80211.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c index c84f43723b67..c8427d1adae5 100644 --- a/CORE/HDD/src/wlan_hdd_cfg80211.c +++ b/CORE/HDD/src/wlan_hdd_cfg80211.c @@ -17095,6 +17095,9 @@ int __wlan_hdd_cfg80211_scan( struct wiphy *wiphy, scanRequest.minChnTime = cfg_param->nActiveMinChnTime; scanRequest.maxChnTime = cfg_param->nActiveMaxChnTime; +#ifdef CFG80211_SCAN_BSSID + vos_mem_copy(scanRequest.bssid, request->bssid, VOS_MAC_ADDR_SIZE); +#endif /* set BSSType to default type */ scanRequest.BSSType = eCSR_BSS_TYPE_ANY; |
