mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 13:44:26 -04:00
qcacld-3.0: Fix cds_mc_thread getting stuck in infinite loop
A null IE in the bss entry was causing a busyloop in the cds-mc-thread. Change-Id: Ia8bc11f7ee31b2be48d6f1fd9cfb50bc6e49c0c3 CRs-Fixed: 2043510
This commit is contained in:
parent
663d2424c1
commit
b228f09444
1 changed files with 5 additions and 1 deletions
|
|
@ -5874,8 +5874,12 @@ void csr_init_occupied_channels_list(tpAniSirGlobal mac_ctx,
|
|||
ie_ptr = (tDot11fBeaconIEs *) (bss_desc->Result.pvIes);
|
||||
if (!ie_ptr && !QDF_IS_STATUS_SUCCESS(
|
||||
csr_get_parsed_bss_description_ies(mac_ctx,
|
||||
&bss_desc->Result.BssDescriptor, &ie_ptr)))
|
||||
&bss_desc->Result.BssDescriptor, &ie_ptr))) {
|
||||
/* Pick next bss entry before continuing */
|
||||
scan_entry = csr_ll_next(&scan_list->List, scan_entry,
|
||||
LL_ACCESS_NOLOCK);
|
||||
continue;
|
||||
}
|
||||
csr_scan_add_to_occupied_channels(mac_ctx, bss_desc, sessionId,
|
||||
&mac_ctx->scan.occupiedChannels[sessionId], ie_ptr,
|
||||
true);
|
||||
|
|
|
|||
Loading…
Reference in a new issue