mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-08 19:55:16 -05:00
qcacld-3.0: Fix commnd eSmeCommandRoam stuck issue
qcacld-2.0 to qcacld-3.0 propagation. AP and P2P GO mode, user issue DEAUTHENTICATE command with reason 6, driver will change deauth reason code to eSIR_MAC_UNSPEC_FAILURE_REASON. It should be only for station or p2p client mode. Otherwise, 'eSmeCommandRoam' will be stuck in 'smeCmdActiveList'. It will trigger recover. Change-Id: I126c0b682dbee12e6da903040e058ca370228c5f CRs-Fixed: 2311077
This commit is contained in:
parent
b3401cf5ed
commit
57c2553835
1 changed files with 2 additions and 1 deletions
|
|
@ -2574,7 +2574,8 @@ static void __lim_process_sme_deauth_req(tpAniSirGlobal mac_ctx,
|
|||
return;
|
||||
} /* end switch (mac_ctx->lim.gLimSystemRole) */
|
||||
|
||||
if (sme_deauth_req.reasonCode == eLIM_LINK_MONITORING_DEAUTH) {
|
||||
if (sme_deauth_req.reasonCode == eLIM_LINK_MONITORING_DEAUTH &&
|
||||
session_entry->limSystemRole == eLIM_STA_ROLE) {
|
||||
/* Deauthentication is triggered by Link Monitoring */
|
||||
pe_debug("** Lost link with AP **");
|
||||
deauth_trigger = eLIM_LINK_MONITORING_DEAUTH;
|
||||
|
|
|
|||
Loading…
Reference in a new issue