qcacld-3.0: Fix uninitialized variable used issue

Fix uninitialized variable used issue for sbs_mac0_modified_pcl

Change-Id: I8be306ab118291923b1c76eb6a84c1e14aacf5e0
CRs-Fixed: 3687569
Dieser Commit ist enthalten in:
Prasanna JS
2023-12-15 03:04:57 -08:00
committet von Ravindra Konda
Ursprung 095cf5e962
Commit 0bdee78916

Datei anzeigen

@@ -1,6 +1,6 @@
/*
* Copyright (c) 2012-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
@@ -1571,7 +1571,7 @@ static QDF_STATUS policy_mgr_pcl_modification_for_ll_lt_sap(
uint32_t pcl_list[NUM_CHANNELS], orig_len = *len;
uint8_t weight_list[NUM_CHANNELS];
uint32_t i, pcl_len = 0;
bool sbs_mac0_modified_pcl;
bool sbs_mac0_modified_pcl = false;
pm_ctx = policy_mgr_get_context(psoc);
if (!pm_ctx) {