From 151d9f95a3405edcb4732ae306a31ca7363e94ea Mon Sep 17 00:00:00 2001 From: Kiran Kumar Lokere Date: Mon, 7 Nov 2016 12:39:29 -0800 Subject: [PATCH] qcacld-3.0: Do not update the session Nss with FW value Session entry Nss value is updated by user configuration and device capabilities. FW also provides the Nss value in vdev start response based on current hardware mode. If the current HW mode is DBS, FW gives the Nss value as 1 and if it is updated in session then performance will be downgraded. Do not update the session Nss with Nss given in vdev start response by FW. Change-Id: I4b9d5f98f09b437bb25568c82b15598aed493f27 CRs-Fixed: 1086940 --- core/mac/src/pe/lim/lim_process_mlm_rsp_messages.c | 1 - 1 file changed, 1 deletion(-) diff --git a/core/mac/src/pe/lim/lim_process_mlm_rsp_messages.c b/core/mac/src/pe/lim/lim_process_mlm_rsp_messages.c index c462cccbec3d..083624ac2c57 100644 --- a/core/mac/src/pe/lim/lim_process_mlm_rsp_messages.c +++ b/core/mac/src/pe/lim/lim_process_mlm_rsp_messages.c @@ -3138,7 +3138,6 @@ void lim_process_switch_channel_rsp(tpAniSirGlobal pMac, void *body) channelChangeReasonCode = psessionEntry->channelChangeReasonCode; /* initialize it back to invalid id */ psessionEntry->chainMask = pChnlParams->chainMask; - psessionEntry->nss = pChnlParams->nss; psessionEntry->smpsMode = pChnlParams->smpsMode; psessionEntry->channelChangeReasonCode = 0xBAD; lim_log(pMac, LOG1, FL("channelChangeReasonCode %d"),