summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPadma, Santhosh Kumar <skpadma@qti.qualcomm.com>2015-04-15 19:13:55 +0530
committerAnjaneeDevi Kapparapu <c_akappa@qti.qualcomm.com>2015-05-28 15:55:05 +0530
commite3f377380919e8b67d7635cdbbdd443adbe3c19a (patch)
treecd5aeaf8b2529b803a93a01e4a8b712e6c02a384
parent8b2b880046087ac55fedee9f754551ed3836d44b (diff)
wlan: Remove the NULL SSID check from AP caps mismatch logic.
In limDetectChangeInApCapabilities if SSID is NULL DUT sends an unicast probe request to AP and recheck the capability once it gets the probe resp.Some APs sends NULL SSID even in Probe resp and thus AP is disconnected. Removed the NULL SSID check from limDetectChangeInApCapabilities. Change-Id: I80af36e7cbd711c9afc3d9674844b9cb3af1cabe CRs-Fixed: 669282
-rw-r--r--CORE/MAC/src/pe/lim/limApi.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/CORE/MAC/src/pe/lim/limApi.c b/CORE/MAC/src/pe/lim/limApi.c
index efa77a3ef7f6..3d92afe201d4 100644
--- a/CORE/MAC/src/pe/lim/limApi.c
+++ b/CORE/MAC/src/pe/lim/limApi.c
@@ -1572,9 +1572,8 @@ limDetectChangeInApCapabilities(tpAniSirGlobal pMac,
newChannel = (tANI_U8) pBeacon->channelNumber;
if ( ( false == psessionEntry->limSentCapsChangeNtf ) &&
- ( ( ( limIsNullSsid(&pBeacon->ssId) ) ||
- ( ( !limIsNullSsid(&pBeacon->ssId) ) &&
- ( false == limCmpSSid(pMac, &pBeacon->ssId, psessionEntry) ) ) ) ||
+ ( ( ( !limIsNullSsid(&pBeacon->ssId) ) &&
+ ( false == limCmpSSid(pMac, &pBeacon->ssId, psessionEntry) ) ) ||
( (SIR_MAC_GET_ESS(apNewCaps.capabilityInfo) !=
SIR_MAC_GET_ESS(psessionEntry->limCurrentBssCaps) ) ||
( SIR_MAC_GET_PRIVACY(apNewCaps.capabilityInfo) !=