Jelajahi Sumber

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 tahun lalu
induk
melakukan
aad2f0320d
1 mengubah file dengan 3 tambahan dan 0 penghapusan
  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);