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
This commit is contained in:
Himanshu Batra
2021-10-06 12:14:58 +05:30
gecommit door Madan Koyyalamudi
bovenliggende 3c15eb5ff7
commit 069f37b825

Bestand weergeven

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