Selaa lähdekoodia

qcacmn: Use osif_cfg as disconnect source for ML internal disconnect

In case when connect req is received while ML connect is in progress,
disconnect is issued with SB_disconnect as source but sb disconnect is
not handler in join active. So, send osif_cfg_disconnect as a source

Change-Id: I9604e23193ba3aef334f0873d2460a992b1914ea
Himanshu Batra 3 vuotta sitten
vanhempi
sitoutus
069f37b825
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      umac/mlo_mgr/src/wlan_mlo_mgr_sta.c

+ 1 - 1
umac/mlo_mgr/src/wlan_mlo_mgr_sta.c

@@ -217,7 +217,7 @@ static void
 mlo_cm_handle_connect_in_connection_state(struct wlan_objmgr_vdev *vdev,
 					  struct wlan_cm_connect_req *req)
 {
-	mlo_disconnect_no_lock(vdev, CM_SB_DISCONNECT,
+	mlo_disconnect_no_lock(vdev, CM_OSIF_CFG_DISCONNECT,
 			       REASON_UNSPEC_FAILURE, NULL);
 	mlo_cm_handle_connect_in_disconnection_state(vdev, req);
 }