qcacld-2.0 to qcacld-3.0 propagation Teardown all TDLS links before second VDEV comes up Change-Id: I0561dcef8f9a3143f420c196d805adecadf0ab6c CRs-Fixed: 951482
@@ -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);
}