summaryrefslogtreecommitdiff
path: root/umac
diff options
context:
space:
mode:
authorSandeep Puligilla <spuligil@codeaurora.org>2018-02-20 12:47:19 -0800
committersnandini <snandini@codeaurora.org>2018-02-23 13:57:14 -0800
commit2850421a779717176f0d47d9fd5e8c47a2b7bf75 (patch)
treec7d2d87d6a5ddae267dec66257fd6a583f9dc08d /umac
parent4a59d8de1cd9cbd75335fa377e40b11e98633bb3 (diff)
downloadqca-wfi-host-cmn-2850421a779717176f0d47d9fd5e8c47a2b7bf75.tar.gz
qcacmn: copy raw data length to new scan entry
scan entry raw data length is not populated during the duplicate scan entry generation. Copy raw data length to new scan entry while duplicating the scan entry. This api is triggered as part of the get scan results handler. Change-Id: Ie59782fd437415552b7ae29c1b190e86d4b72d48 CRs-Fixed: 2186845
Diffstat (limited to 'umac')
-rw-r--r--umac/scan/dispatcher/inc/wlan_scan_utils_api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/umac/scan/dispatcher/inc/wlan_scan_utils_api.h b/umac/scan/dispatcher/inc/wlan_scan_utils_api.h
index dbcc302f7..cd0563ec5 100644
--- a/umac/scan/dispatcher/inc/wlan_scan_utils_api.h
+++ b/umac/scan/dispatcher/inc/wlan_scan_utils_api.h
@@ -599,7 +599,7 @@ util_scan_copy_beacon_data(struct scan_cache_entry *new_entry,
qdf_mem_copy(new_entry->raw_frame.ptr,
scan_entry->raw_frame.ptr,
scan_entry->raw_frame.len);
-
+ new_entry->raw_frame.len = scan_entry->raw_frame.len;
new_ptr = new_entry->raw_frame.ptr;
old_ptr = scan_entry->raw_frame.ptr;