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
This commit is contained in:
Abhinav Kumar 2018-11-12 17:20:43 +05:30 • committed by nshrivas
commit e695b931f7

View file

@ -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) &&