prima: Reduce roaming delay by moving tdls cb after enabling queues
Function wlan_hdd_tdls_connection_callback takes few milliseconds
to complete its functionality which can effect roaming delay.
Move this functionality after enabling queues to reduce roaming delay.
Change-Id: I78d7b4deadb6cccdfd81f8431b6dd7c013e05340
CRs-Fixed: 978673
diff --git a/CORE/HDD/src/wlan_hdd_assoc.c b/CORE/HDD/src/wlan_hdd_assoc.c
index 9043495..91f060f 100644
--- a/CORE/HDD/src/wlan_hdd_assoc.c
+++ b/CORE/HDD/src/wlan_hdd_assoc.c
@@ -1655,9 +1655,6 @@
else
hddLog(VOS_TRACE_LEVEL_ERROR, "%s: Wrong Staid: %d", __func__, pRoamInfo->staId);
-#ifdef FEATURE_WLAN_TDLS
- wlan_hdd_tdls_connection_callback(pAdapter);
-#endif
//For reassoc, the station is already registered, all we need is to change the state
//of the STA in TL.
//If authentication is required (WPA/WPA2/DWEP), change TL to CONNECTED instead of AUTHENTICATED
@@ -1894,6 +1891,9 @@
{
vos_record_roam_event(e_HDD_ENABLE_TX_QUEUE, NULL, 0);
}
+#ifdef FEATURE_WLAN_TDLS
+ wlan_hdd_tdls_connection_callback(pAdapter);
+#endif
}
else
{