mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
qcacld-3.0: Avoid dead loop in sap_process_avoid_ie
qcacld-2.0 to qcacld-3.0 propagation In function sap_process_avoid_ie, if type of avoid_ch_ie is not QCOM_VENDOR_IE_MCC_AVOID_CH, we need to get next node(scan result) for process. Otherwise the dead loop causes VosMcThread stuck. Change-Id: If0e736c5b8a5638ea2bc96c3afb25be286959942 CRs-Fixed: 2019048
This commit is contained in:
parent
7e3dac7e00
commit
55ba104911
1 changed files with 5 additions and 1 deletions
|
|
@ -314,8 +314,12 @@ static void sap_process_avoid_ie(tHalHandle hal,
|
|||
|
||||
if (temp_ptr) {
|
||||
avoid_ch_ie = (struct sAvoidChannelIE *)temp_ptr;
|
||||
if (avoid_ch_ie->type != QCOM_VENDOR_IE_MCC_AVOID_CH)
|
||||
if (avoid_ch_ie->type !=
|
||||
QCOM_VENDOR_IE_MCC_AVOID_CH) {
|
||||
node = sme_scan_result_get_next(hal,
|
||||
scan_result);
|
||||
continue;
|
||||
}
|
||||
|
||||
sap_ctx->sap_detected_avoid_ch_ie.present = 1;
|
||||
QDF_TRACE(QDF_MODULE_ID_SAP,
|
||||
|
|
|
|||
Loading…
Reference in a new issue