Merge "qcacld-3.0: Teardown TDLS links when second vdev comes up" into wlan-cld3.driver.lnx.1.1-dev

This commit is contained in:
Service qcabuildsw 2016-07-21 15:30:53 -07:00 • committed by Gerrit - the friendly Code Review server
commit 19c9397ee0

View file

@ -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);
}