diff options
| author | Kabilan Kannan <kabilank@codeaurora.org> | 2016-11-17 23:47:27 -0800 |
|---|---|---|
| committer | qcabuildsw <qcabuildsw@localhost> | 2016-11-22 16:48:16 -0800 |
| commit | 14ffc5ee680e03c256a627c22a184c0ae4065b76 (patch) | |
| tree | 09b1b10ff8c14a12941ef89db0638d898dda1ec5 | |
| parent | be03fb8f08b622a9cd37a269002aba7e990a8a47 (diff) | |
qcacld-3.0: Fix TDLS external control reconnect problem
TDLS connection tracker is disabled during scan operation and
it is not re-enabled correctly, when the scan operation
is completed. Due to this TDLS external control operation
fails to establish tdls links.
Add changes in the host driver to enable and disable
connection tracker correctly for all events.
Change-Id: I7c1df5ae165a44c4f908b53a7d3364dd36c915ef
CRs-Fixed: 1091836
| -rw-r--r-- | core/hdd/src/wlan_hdd_tdls.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/hdd/src/wlan_hdd_tdls.c b/core/hdd/src/wlan_hdd_tdls.c index a9da01976c99..7598f2be6b3b 100644 --- a/core/hdd/src/wlan_hdd_tdls.c +++ b/core/hdd/src/wlan_hdd_tdls.c @@ -1670,6 +1670,11 @@ static void wlan_hdd_tdls_set_mode(hdd_context_t *pHddCtx, if (eTDLS_SUPPORT_ENABLED == tdls_mode || eTDLS_SUPPORT_EXTERNAL_CONTROL == tdls_mode) { wlan_hdd_tdls_implicit_enable(pHddTdlsCtx); + /* tdls implicit mode is enabled, so + * enable the connection tracker + */ + pHddCtx->enable_tdls_connection_tracker = + true; } else if ((eTDLS_SUPPORT_DISABLED == tdls_mode) || (eTDLS_SUPPORT_EXPLICIT_TRIGGER_ONLY == tdls_mode)) { |
