|
@@ -1,6 +1,6 @@
|
|
|
/*
|
|
|
* 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
|
|
|
* any purpose with or without fee is hereby granted, provided that the
|
|
@@ -2557,6 +2557,11 @@ void target_if_cfr_update_global_cfg(struct wlan_objmgr_pdev *pdev)
|
|
|
pcfr = wlan_objmgr_pdev_get_comp_private_obj(pdev,
|
|
|
WLAN_UMAC_COMP_CFR);
|
|
|
|
|
|
+ if (!pcfr) {
|
|
|
+ target_if_err("pcfr is null");
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
for (grp_id = 0; grp_id < MAX_TA_RA_ENTRIES; grp_id++) {
|
|
|
if (qdf_test_bit(grp_id,
|
|
|
&pcfr->rcc_param.modified_in_curr_session)) {
|