diff options
| author | Deepthi Gowri <c_gowri@qti.qualcomm.com> | 2016-03-09 18:25:39 +0530 |
|---|---|---|
| committer | Anjaneedevi Kapparapu <akappa@codeaurora.org> | 2016-03-14 10:57:44 +0530 |
| commit | bbbde80816402c0a1c25628bc000e573385b0e44 (patch) | |
| tree | 381c917ec69254302cb3067b8b7cd397dfa57696 | |
| parent | 7b9e6304b451455f70090129b977b0dee5b240b2 (diff) | |
TDLS: Fix for getTdlspeers in case of explicit trigger.
Currently driver is setting TDLS supported capability only in case
of tdls peer discovery response. In case of explicit trigger discovery
is optional, so it could be possible that the false capabiltiy is sent
as tdls not supported though it supports when link is enabled using an
external trigger.
To address this, set the tdls supported capability during the tdls setup
confirmation.
Change-Id: I13041f2b03e749617e58a74d82bdf77d9e6886ed
CRs-Fixed: 988686
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_cfg80211.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c index c37988922501..525e304df132 100644 --- a/CORE/HDD/src/wlan_hdd_cfg80211.c +++ b/CORE/HDD/src/wlan_hdd_cfg80211.c @@ -20933,6 +20933,7 @@ static int __wlan_hdd_cfg80211_tdls_mgmt(struct wiphy *wiphy, /* For explicit trigger of DIS_REQ come out of BMPS for successfully receiving DIS_RSP from peer. */ if ((SIR_MAC_TDLS_SETUP_RSP == action_code) || + (SIR_MAC_TDLS_SETUP_CNF== action_code) || (SIR_MAC_TDLS_DIS_RSP == action_code) || (SIR_MAC_TDLS_DIS_REQ == action_code)) { @@ -21366,7 +21367,7 @@ static int __wlan_hdd_cfg80211_tdls_oper(struct wiphy *wiphy, MAC_ADDR_ARRAY(peer)); return -EINVAL; } - + wlan_hdd_tdls_set_cap(pAdapter, peer, eTDLS_CAP_SUPPORTED); vos_mem_set(&tdlsLinkEstablishParams, sizeof(tCsrTdlsLinkEstablishParams), 0); |
