prima: Disable Tspec Valid during LFR roaming
Disable Tspec valid only during LFR roaming but not during reassoc
to same AP. Added a check to ensure this.
Change-Id: I833bf851370803ce88b754273229e7ee56f571ba
CRs-Fixed: 749464
diff --git a/CORE/HDD/src/wlan_hdd_wmm.c b/CORE/HDD/src/wlan_hdd_wmm.c
index 593d8f8..0c08660 100644
--- a/CORE/HDD/src/wlan_hdd_wmm.c
+++ b/CORE/HDD/src/wlan_hdd_wmm.c
@@ -2308,18 +2308,21 @@
/* Making TSPEC invalid here so downgrading can be happen while roaming
* It is expected this will be SET in hdd_wmm_sme_callback,once sme is
- * done with the AddTspec.Here we avoid 11r and ccx based association
+ * done with the AddTspec.Here we avoid 11r and ccx based association.
+ This change is done only when reassoc to different AP.
*/
+ if ( !pRoamInfo->fReassocReq
#if defined (WLAN_FEATURE_VOWIFI_11R)
- if(pRoamInfo->u.pConnectedProfile->AuthType != eCSR_AUTH_TYPE_FT_RSN &&
+ &&
+ pRoamInfo->u.pConnectedProfile->AuthType != eCSR_AUTH_TYPE_FT_RSN &&
pRoamInfo->u.pConnectedProfile->AuthType != eCSR_AUTH_TYPE_FT_RSN_PSK
+#endif
#if defined (FEATURE_WLAN_ESE)
&&
pRoamInfo->u.pConnectedProfile->AuthType != eCSR_AUTH_TYPE_CCKM_WPA &&
pRoamInfo->u.pConnectedProfile->AuthType != eCSR_AUTH_TYPE_CCKM_RSN
#endif
)
-#endif
{
pAdapter->hddWmmStatus.wmmAcStatus[ac].wmmAcTspecValid = VOS_FALSE;
}