瀏覽代碼

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
Kabilan Kannan 8 年之前
父節點
當前提交
aad2f0320d
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      core/hdd/src/wlan_hdd_cfg80211.c

+ 3 - 0
core/hdd/src/wlan_hdd_cfg80211.c

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