diff options
| author | gaolez <gaolez@codeaurora.org> | 2016-12-08 15:10:03 +0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-12-13 06:49:53 -0800 |
| commit | f7e122fd0848dce7bc88d780544803d75d338cda (patch) | |
| tree | 5378ed3fdace0030f2d60ef78c890d5ddc7723af | |
| parent | 191c85d0b4ea47b0107429f40725067f13f1bdd5 (diff) | |
qcacld-2.0: Fix SAP multi-connection fail issue
In the SAP associate respond process, check if the pSta pointer
is valid before dereference.
Change-Id: I04cb7b9bf7d2ddd8417b0b2114f5158a1a16fa5b
CRs-Fixed: 1093599
| -rw-r--r-- | CORE/MAC/src/pe/lim/limSendManagementFrames.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CORE/MAC/src/pe/lim/limSendManagementFrames.c b/CORE/MAC/src/pe/lim/limSendManagementFrames.c index f2d80ebd538c..f1ef76894b04 100644 --- a/CORE/MAC/src/pe/lim/limSendManagementFrames.c +++ b/CORE/MAC/src/pe/lim/limSendManagementFrames.c @@ -1393,7 +1393,7 @@ limSendAssocRspMgmtFrame(tpAniSirGlobal pMac, if(psessionEntry->gLimProtectionControl != WNI_CFG_FORCE_POLICY_PROTECTION_DISABLE) limDecideApProtection(pMac, peerMacAddr, &beaconParams,psessionEntry); - if (pSta->non_ecsa_capable) + if (NULL != pSta && pSta->non_ecsa_capable) psessionEntry->lim_non_ecsa_cap_num++; } |
