mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
qcacld-3.0: continue connection even BSSType mismatch
This happens in roaming case, even bsstype is mismating we allow it to continue, which is to avoid serialization cmd without dequeue issue. Change-Id: I17f4c8e71769c42f3e7747e6095645c9683753ad CRs-Fixed: 3015332
This commit is contained in:
parent
0ca55c0262
commit
adb08a35c2
1 changed files with 8 additions and 2 deletions
|
|
@ -9189,20 +9189,26 @@ csr_roaming_state_config_cnf_processor(struct mac_context *mac_ctx,
|
|||
if (!scan_result) {
|
||||
/* If we are roaming TO an Infrastructure BSS... */
|
||||
QDF_ASSERT(scan_result);
|
||||
csr_roam_complete(mac_ctx, eCsrJoinFailure, NULL, vdev_id);
|
||||
return;
|
||||
}
|
||||
|
||||
if (!csr_is_infra_bss_desc(bss_desc)) {
|
||||
sme_warn("found BSSType mismatching the one in BSS descp");
|
||||
return;
|
||||
/* here we allow the connection even if ess is not set.
|
||||
* previously it return directly which cause serialization cmd
|
||||
* timeout.
|
||||
*/
|
||||
}
|
||||
|
||||
local_ies = (tDot11fBeaconIEs *) scan_result->Result.pvIes;
|
||||
if (!local_ies) {
|
||||
status = csr_get_parsed_bss_description_ies(mac_ctx, bss_desc,
|
||||
&local_ies);
|
||||
if (!QDF_IS_STATUS_SUCCESS(status))
|
||||
if (!QDF_IS_STATUS_SUCCESS(status)) {
|
||||
csr_roam(mac_ctx, cmd, false);
|
||||
return;
|
||||
}
|
||||
is_ies_malloced = true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue