Fix for link not establishing in multiple peer scenario
Dont send setup indication to supplicant for the peer if, the
status of same peer link is eTDLS_LINK_CONNECTING.
CRs-Fixed: 460926
Change-Id: I5e30d293ac4904ad68d1f715439ac3ad44e693c7
diff --git a/CORE/HDD/inc/wlan_hdd_tdls.h b/CORE/HDD/inc/wlan_hdd_tdls.h
index 7dda53a..8b9aef1 100644
--- a/CORE/HDD/inc/wlan_hdd_tdls.h
+++ b/CORE/HDD/inc/wlan_hdd_tdls.h
@@ -120,7 +120,6 @@
tANI_U16 tx_pkt;
tANI_U16 rx_pkt;
vos_timer_t peerIdleTimer;
- tANI_U8 isTDLSInProgress;
} hddTdlsPeer_t;
typedef struct {
@@ -148,7 +147,9 @@
hddTdlsPeer_t *wlan_hdd_tdls_get_peer(hdd_adapter_t *pAdapter, u8 *mac);
-void wlan_hdd_tdls_set_link_status(hddTdlsPeer_t *curr_peer, int status);
+void wlan_hdd_tdls_set_peer_link_status(hddTdlsPeer_t *curr_peer, tTDLSLinkStatus status);
+
+void wlan_hdd_tdls_set_link_status(hdd_adapter_t *pAdapter, u8* mac, tTDLSLinkStatus status);
int wlan_hdd_tdls_recv_discovery_resp(hdd_adapter_t *pAdapter, u8 *mac);
@@ -180,8 +181,6 @@
void wlan_hdd_tdls_check_bmps(hdd_adapter_t *pAdapter);
-void wlan_hdd_tdls_set_connection_progress(hdd_adapter_t *pAdapter, u8* mac, u8 isProgress);
-
u8 wlan_hdd_tdls_is_progress(hdd_adapter_t *pAdapter, u8* mac, u8 skip_self);
#endif // __HDD_TDSL_H