qcacmn: Fix issue about generating MBSSID frames
When generating MBSSID beacon/probe response frames, it misses the last IE in the MBSSID ie list. To address it, correcting the comparing length. CRs-Fixed: 3609711 Change-Id: Ia406be0ade901c9bc01698faec473bd25c59dfb3
This commit is contained in:

committed by
Rahul Choudhary

parent
833c538818
commit
3ceac81c5e
@@ -3076,7 +3076,7 @@ static uint32_t util_gen_new_ie(uint8_t *ie, uint32_t ielen,
|
||||
tmp_new = sub_copy;
|
||||
while ((subie_len > 0) &&
|
||||
(((tmp_new + tmp_new[1] + MIN_IE_LEN) - sub_copy) <=
|
||||
(subie_len - 1))) {
|
||||
subie_len)) {
|
||||
if (!(tmp_new[0] == WLAN_ELEMID_NONTX_BSSID_CAP ||
|
||||
tmp_new[0] == WLAN_ELEMID_SSID ||
|
||||
tmp_new[0] == WLAN_ELEMID_MULTI_BSSID_IDX ||
|
||||
|
Reference in New Issue
Block a user