Browse Source

qcacld-3.0: Disconnect ml connection during ML-STA + monitor

currently while STA+Monitor mode is coming up, STA is disconnected.
The sta connection status is quiered from the policy manager, in
ML-STA case the policy manager has STA+STA concurrency which is not
satisfying the current assumption that there will be only one STA
connection resulting in monitor mode operating in the connected state.

Consider the ML-STA case and disconnect the ML connection when
ML-STA + Monitor is coming up.

Change-Id: I2881cb7797089cf1808ce1163a598a1f2bb67455
CRs-Fixed: 3530655
Arun Kumar Khandavalli 1 year ago
parent
commit
2f9c8d3911
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/hdd/src/wlan_hdd_main.c

+ 1 - 1
core/hdd/src/wlan_hdd_main.c

@@ -20796,7 +20796,7 @@ wlan_hdd_add_monitor_check(struct hdd_context *hdd_ctx,
 						PM_STA_MODE,
 						NULL);
 
-		if (num_open_session == 1) {
+		if (num_open_session) {
 			/* Try disconnecting if already in connected state */
 			wlan_hdd_cm_issue_disconnect(sta_adapter->deflink,
 						     REASON_UNSPEC_FAILURE,