summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSelvaraj, Sridhar <sselvara@codeaurora.org>2016-08-29 10:56:32 +0530
committerSelvaraj, Sridhar <sselvara@codeaurora.org>2016-08-29 16:13:29 +0530
commit11d498557276e141a543bb53c9979375123efcc5 (patch)
tree511a543a30330509f4009e47692d2fe43c823872
parent4772157d74d576c454ec1984f83df4d5decd8d82 (diff)
qcacld-3.0: Fix mac address copy issue in active scan
Use QDF_MAC_ADDR_SIZE instead of VOS_MAC_ADDR_SIZE while copying bssid given by supplicant for active scan. Regression Change-Id: I97886b1dbd63fbca21fa410252df572f819df207 Change-Id: I55cf956dc6dca68790d2ff69ad5c3e5cacd0f6ae CRs-Fixed: 1060356
-rw-r--r--core/hdd/src/wlan_hdd_scan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/hdd/src/wlan_hdd_scan.c b/core/hdd/src/wlan_hdd_scan.c
index 7ad8a6ccc6e3..74a19c16788e 100644
--- a/core/hdd/src/wlan_hdd_scan.c
+++ b/core/hdd/src/wlan_hdd_scan.c
@@ -1250,7 +1250,7 @@ static void wlan_hdd_cfg80211_scan_block_cb(struct work_struct *work)
static inline void wlan_hdd_copy_bssid_scan_request(tCsrScanRequest *scan_req,
struct cfg80211_scan_request *request)
{
- qdf_mem_copy(scan_req->bssid, request->bssid, VOS_MAC_ADDR_SIZE);
+ qdf_mem_copy(scan_req->bssid.bytes, request->bssid, QDF_MAC_ADDR_SIZE);
}
#else
static inline void wlan_hdd_copy_bssid_scan_request(tCsrScanRequest *scan_req,