From e695b931f76dc011729cb5e76926185bc4384ccc Mon Sep 17 00:00:00 2001 From: Abhinav Kumar Date: Mon, 12 Nov 2018 17:20:43 +0530 Subject: [PATCH] qcacld-3.0: Retain connection if only short/long preamble caps changes Currently, driver issues disconnection if only short/long preamble caps changes occur. This results in frequent disconnections. Firmware anyway doesn't take care of short/long preamble peer capability so this shouldn't cause any side effect as most of the peers today support short preamble. Fix is to prevent disconnection if only short/long preamble caps change occurs. Change-Id: Iea80e06d10cdedfed77830f7757881046c929e48 CRs-Fixed: 2353787 --- core/mac/src/pe/lim/lim_api.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/mac/src/pe/lim/lim_api.c b/core/mac/src/pe/lim/lim_api.c index 848ab4dfa1fa..1b18200a75bf 100644 --- a/core/mac/src/pe/lim/lim_api.c +++ b/core/mac/src/pe/lim/lim_api.c @@ -1716,8 +1716,6 @@ lim_detect_change_in_ap_capabilities(tpAniSirGlobal pMac, SIR_MAC_GET_ESS(psessionEntry->limCurrentBssCaps)) || (SIR_MAC_GET_PRIVACY(apNewCaps.capabilityInfo) != SIR_MAC_GET_PRIVACY(psessionEntry->limCurrentBssCaps)) || - (SIR_MAC_GET_SHORT_PREAMBLE(apNewCaps.capabilityInfo) != - SIR_MAC_GET_SHORT_PREAMBLE(psessionEntry->limCurrentBssCaps)) || (SIR_MAC_GET_QOS(apNewCaps.capabilityInfo) != SIR_MAC_GET_QOS(psessionEntry->limCurrentBssCaps)) || ((newChannel != psessionEntry->currentOperChannel) &&