소스 검색

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
Sandeep Puligilla 7 년 전
부모
커밋
2850421a77
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      umac/scan/dispatcher/inc/wlan_scan_utils_api.h

+ 1 - 1
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;