|
@@ -1,6 +1,6 @@
|
|
/*
|
|
/*
|
|
* Copyright (c) 2019-2021 The Linux Foundation. All rights reserved.
|
|
* Copyright (c) 2019-2021 The Linux Foundation. All rights reserved.
|
|
- * Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
|
|
|
|
+ * Copyright (c) 2021-2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
*
|
|
*
|
|
* Permission to use, copy, modify, and/or distribute this software for
|
|
* Permission to use, copy, modify, and/or distribute this software for
|
|
* any purpose with or without fee is hereby granted, provided that the
|
|
* any purpose with or without fee is hereby granted, provided that the
|
|
@@ -705,8 +705,12 @@ static QDF_STATUS vdev_mgr_up_param_update(
|
|
|
|
|
|
mbss = &mlme_obj->mgmt.mbss_11ax;
|
|
mbss = &mlme_obj->mgmt.mbss_11ax;
|
|
wlan_vdev_mgr_get_param_bssid(vdev, bssid);
|
|
wlan_vdev_mgr_get_param_bssid(vdev, bssid);
|
|
- if (qdf_mem_cmp(bssid, mbss->non_trans_bssid, QDF_MAC_ADDR_SIZE))
|
|
|
|
- return QDF_STATUS_SUCCESS;
|
|
|
|
|
|
+
|
|
|
|
+ if (wlan_vdev_mlme_get_opmode(vdev) != QDF_SAP_MODE) {
|
|
|
|
+ if (qdf_mem_cmp(bssid, mbss->non_trans_bssid,
|
|
|
|
+ QDF_MAC_ADDR_SIZE))
|
|
|
|
+ return QDF_STATUS_SUCCESS;
|
|
|
|
+ }
|
|
|
|
|
|
param->profile_idx = mbss->profile_idx;
|
|
param->profile_idx = mbss->profile_idx;
|
|
param->profile_num = mbss->profile_num;
|
|
param->profile_num = mbss->profile_num;
|