qcacmn: Ignore ML IE if vdev is created without MLD context
Ignore ML IE if vdev is created without MLD context Change-Id: I7992bbbc92e177ab84c44751844fa8a9a8a986dc
This commit is contained in:

committed by
Madan Koyyalamudi

parent
dcec4534a1
commit
66883847fb
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2012-2015,2020-2021 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2021-2022 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
|
||||
@@ -493,6 +493,11 @@ QDF_STATUS osif_update_mlo_partner_info(
|
||||
if (!vdev || !connect_req || !req)
|
||||
return status;
|
||||
|
||||
if (!vdev->mlo_dev_ctx) {
|
||||
osif_debug("ML ctx is NULL, ignore ML IE");
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
osif_debug("ML IE search start");
|
||||
if (req->ie_len) {
|
||||
ptr = (uint8_t *)req->ie;
|
||||
|
Reference in New Issue
Block a user