qcacmn: Initialize the chan_params structure
chan_params structure is uninitialized, due to which variables inside the chan_params structure have garbage values. To avoid this, initialize the chan_params structure. Change-Id: Ic09c0a2d24c2a1eac8f076c7bbd4d25d147370fd CRs-Fixed: 3205502
Šī revīzija ir iekļauta:

revīziju iesūtīja
Madan Koyyalamudi

vecāks
5fd598fac0
revīzija
33e3e1d6a8
@@ -4289,7 +4289,7 @@ static bool
|
||||
target_if_spectral_is_valid_80p80_freq(struct wlan_objmgr_pdev *pdev,
|
||||
uint32_t cfreq1, uint32_t cfreq2)
|
||||
{
|
||||
struct ch_params ch_params;
|
||||
struct ch_params ch_params = {0};
|
||||
enum channel_state chan_state1;
|
||||
enum channel_state chan_state2;
|
||||
struct wlan_objmgr_psoc *psoc;
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user