mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
qcacld-3.0: Fix STA can't disconnect with AP issue
pe_roam_synch_callback creates new pe session and initializes the varible bssIdx with add_bss_params->bssIdx which is not initialized. When beacon miss event happens, it can't disconnect with the AP because the session is not found for bssidx zero. Change-Id: I44b79fe7ee0a8fc4ecc6f41e2574c203b0755827 CRs-Fixed: 2094326
This commit is contained in:
parent
a3988f76ce
commit
fda3a59222
1 changed files with 2 additions and 0 deletions
|
|
@ -2168,6 +2168,8 @@ QDF_STATUS pe_roam_synch_callback(tpAniSirGlobal mac_ctx,
|
|||
ft_session_ptr->bRoamSynchInProgress = false;
|
||||
return status;
|
||||
}
|
||||
|
||||
add_bss_params->bssIdx = roam_sync_ind_ptr->roamedVdevId;
|
||||
ft_session_ptr->bssIdx = (uint8_t) add_bss_params->bssIdx;
|
||||
|
||||
curr_sta_ds->bssId = add_bss_params->bssIdx;
|
||||
|
|
|
|||
Loading…
Reference in a new issue