qcacmn: Ignore ml sta connect notification when connect req is flushed

If vdev is not in disconnected or connected state,
then the event is received due to connect req being flushed.
Hence, ignore this event

Change-Id: If7f51496fcca283cb6559b027a21df82ae9ec7d2
这个提交包含在:
Himanshu Batra
2021-10-30 15:25:17 +05:30
提交者 Madan Koyyalamudi
父节点 cf86402808
当前提交 5a4b4ec7ca

查看文件

@@ -1,5 +1,6 @@
/*
* Copyright (c) 2021, The Linux Foundation. All rights reserved.
* Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -532,7 +533,14 @@ void mlo_sta_link_connect_notify(struct wlan_objmgr_vdev *vdev,
REASON_UNSPEC_FAILURE, NULL);
return;
}
} else if (!wlan_cm_is_vdev_connected(vdev)) {
/* If vdev is not in disconnected or connected state,
* then the event is received due to connect req being
* flushed. Hence, ignore this event
*/
return;
}
if (!wlan_vdev_mlme_is_mlo_link_vdev(vdev)) {
if (mlo_dev_ctx->sta_ctx->assoc_rsp.ptr) {
qdf_mem_free(