From e7a00119ff5d6be7b3dc22127f893a370401703b Mon Sep 17 00:00:00 2001 From: Kabilan Kannan Date: Sat, 9 Jul 2016 09:13:35 -0700 Subject: [PATCH] qcacld-3.0: Teardown TDLS links when second vdev comes up qcacld-2.0 to qcacld-3.0 propagation Teardown all TDLS links before second VDEV comes up Change-Id: I0561dcef8f9a3143f420c196d805adecadf0ab6c CRs-Fixed: 951482 --- core/hdd/src/wlan_hdd_tdls.c | 3 +-- 1 file changed, 1 insertion(+), 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); }