qcacmn: Add MLO as disconnect source

When processing a peer or southbound disconnect on the non assoc link,
there is a vdev stop issue due to the correct state not being set. For
this link, set the disconnect source as MLO instead of passing it down
from the caller.

Change-Id: I8db444e7c80659a1a1026a53326e99c96ef631f0
CRs-fixed: 3040658
This commit is contained in:
Lincoln Tran
2021-09-27 09:50:00 -07:00
zatwierdzone przez Madan Koyyalamudi
rodzic 8e8df4a411
commit 92f93cb246
2 zmienionych plików z 5 dodań i 2 usunięć

Wyświetl plik

@@ -143,6 +143,7 @@ struct wlan_fils_con_info {
* @CM_ROAM_DISCONNECT: Disconnect req due to HO failure
* @CM_OSIF_CFG_CONNECT: Connect request initiated due to config change
* @CM_OSIF_CFG_DISCONNECT: Disconnect request initiated due to config change
* @CM_MLO_DISCONNECT: Disconnect req initiated from MLO manager
* @CM_SOURCE_MAX: max value of connection manager source
* @CM_SOURCE_INVALID: Invalid connection manager req source
*/
@@ -159,6 +160,7 @@ enum wlan_cm_source {
CM_ROAM_DISCONNECT,
CM_OSIF_CFG_CONNECT,
CM_OSIF_CFG_DISCONNECT,
CM_MLO_DISCONNECT,
CM_SOURCE_MAX,
CM_SOURCE_INVALID = CM_SOURCE_MAX,
};