qcacld-3.0: Fix TDLS set state cmd sequence

Firmware expects TDLS set state cmd before vdev stop, but
the cmd is going out of sequence and induce crash in the
system.
Send the TDLS set state cmd with correct sequence

Change-Id: I5be19d8d44f86b60eed162ee3798f34e87892b15
CRs-Fixed: 2042194
This commit is contained in:
Kabilan Kannan 2017-05-08 13:25:37 -07:00 • committed by snandini
commit aad2f0320d

View file

@ -14779,6 +14779,9 @@ static int __wlan_hdd_cfg80211_disconnect(struct wiphy *wiphy,
pAdapter->sessionId, mac);
}
}
hdd_notify_sta_disconnect(pAdapter->sessionId,
true, pAdapter->hdd_vdev);
wlan_hdd_tdls_notify_disconnect(pAdapter, true);
#endif
hdd_info("Disconnect request from user space with reason: %d (%s) internal reason code: %d",
reason, hdd_ieee80211_reason_code_to_str(reason), reasonCode);