qcacmn: initialize variables to address whunt compilation

This change is to initialize the variables to address
whunt compilation issue.

Change-Id: Ib2234137e436f1ddfe1163aed6e1d4b291f19189
CRs-Fixed: 3110041
This commit is contained in:
Balaji Pothunoori
2022-01-13 15:49:09 +05:30
committed by Madan Koyyalamudi
parent 8f94e32594
commit ede155309e

View File

@@ -1551,7 +1551,9 @@ reg_modify_5g_maxbw(struct regulatory_channel *chan,
struct ch_avoid_freq_type *avoid_freq) struct ch_avoid_freq_type *avoid_freq)
{ {
int i; int i;
qdf_freq_t start, end, cur; qdf_freq_t start = 0;
qdf_freq_t end = 0;
qdf_freq_t cur;
bool found = false; bool found = false;
for (i = 0; i < MAX_5G_CHAN_NUM; i++) { for (i = 0; i < MAX_5G_CHAN_NUM; i++) {