From e3f377380919e8b67d7635cdbbdd443adbe3c19a Mon Sep 17 00:00:00 2001 From: "Padma, Santhosh Kumar" Date: Wed, 15 Apr 2015 19:13:55 +0530 Subject: 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 --- CORE/MAC/src/pe/lim/limApi.c | 5 ++--- 1 file 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) != -- cgit v1.2.3