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
This commit is contained in:
Kiran Kumar Lokere
2016-11-07 12:39:29 -08:00
committed by qcabuildsw
parent 40b41ae29c
commit 151d9f95a3

View File

@@ -3138,7 +3138,6 @@ void lim_process_switch_channel_rsp(tpAniSirGlobal pMac, void *body)
channelChangeReasonCode = psessionEntry->channelChangeReasonCode; channelChangeReasonCode = psessionEntry->channelChangeReasonCode;
/* initialize it back to invalid id */ /* initialize it back to invalid id */
psessionEntry->chainMask = pChnlParams->chainMask; psessionEntry->chainMask = pChnlParams->chainMask;
psessionEntry->nss = pChnlParams->nss;
psessionEntry->smpsMode = pChnlParams->smpsMode; psessionEntry->smpsMode = pChnlParams->smpsMode;
psessionEntry->channelChangeReasonCode = 0xBAD; psessionEntry->channelChangeReasonCode = 0xBAD;
lim_log(pMac, LOG1, FL("channelChangeReasonCode %d"), lim_log(pMac, LOG1, FL("channelChangeReasonCode %d"),