diff options
| author | gaolez <gaolez@codeaurora.org> | 2016-11-23 17:26:10 +0800 |
|---|---|---|
| committer | Anjaneedevi Kapparapu <akappa@codeaurora.org> | 2016-11-24 14:42:42 +0530 |
| commit | de3d38fa7099263b0004d3cd03e6a2628c6c3cb9 (patch) | |
| tree | 1ae55fb8737544b5daa83dc13ee433914cc265a3 | |
| parent | aca068d360cc9adbc90bae84d0537501f1cae135 (diff) | |
qcacld-2.0: Fix SAP crash issue when multi-clients connected
In the SAP associate respond process, check if the pSta pointer
is valid before deference.
Change-Id: Idfa653737da319efb26af8cb8c041db1095f9a00
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 001183931cf2..408391add240 100644 --- a/CORE/MAC/src/pe/lim/limSendManagementFrames.c +++ b/CORE/MAC/src/pe/lim/limSendManagementFrames.c @@ -1411,7 +1411,7 @@ limSendAssocRspMgmtFrame(tpAniSirGlobal pMac, limSendBeaconParams(pMac, &beaconParams, psessionEntry ); } - if (pSta->sub20_dynamic_channelwidth != 0) + if (NULL != pSta && pSta->sub20_dynamic_channelwidth != 0) populate_dot11f_sub_20_channel_width_ie( pMac, &frm.QComVendorIE, psessionEntry); |
