summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorService qcabuildsw <qcabuildsw@localhost>2016-07-21 15:30:53 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2016-07-21 15:30:53 -0700
commit19c9397ee04c2b39a61c6e726890d85acebc5b40 (patch)
tree18fdcb3c47e4c4e2c95687da25de0397cfeb39ba
parentb7ae7a0963743afba331c10319e7218a7e1ec974 (diff)
parente7a00119ff5d6be7b3dc22127f893a370401703b (diff)
Merge "qcacld-3.0: Teardown TDLS links when second vdev comes up" into wlan-cld3.driver.lnx.1.1-dev
-rw-r--r--core/hdd/src/wlan_hdd_tdls.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/hdd/src/wlan_hdd_tdls.c b/core/hdd/src/wlan_hdd_tdls.c
index 299b9e4f4666..5b107bb50b9d 100644
--- a/core/hdd/src/wlan_hdd_tdls.c
+++ b/core/hdd/src/wlan_hdd_tdls.c
@@ -265,8 +265,7 @@ void wlan_hdd_tdls_disable_offchan_and_teardown_links(hdd_context_t *hddctx)
*/
void hdd_tdls_notify_mode_change(hdd_adapter_t *adapter, hdd_context_t *hddctx)
{
- if (adapter->device_mode != QDF_STA_MODE)
- wlan_hdd_tdls_disable_offchan_and_teardown_links(hddctx);
+ wlan_hdd_tdls_disable_offchan_and_teardown_links(hddctx);
}