qcacld-3.0: Initialize wlan_channel struct before use
In lim_update_mlo_mgr_ap_link_info_mbssid_connect(), 'channel' variable of type 'struct wlan_channel' is used without initialization. Fix is to initialize 'channel' structure = {0} on declaration. Change-Id: I3a6240396cf40ffa0c98f8a825cebd3dfe9f43c3 CRs-Fixed: 3663304
This commit is contained in:
parent
653647521b
commit
7e32bffd73
@ -3005,7 +3005,7 @@ lim_update_mlo_mgr_ap_link_info_mbssid_connect(struct pe_session *session)
|
||||
{
|
||||
struct mlo_partner_info *partner_info;
|
||||
struct mlo_link_info *partner_link_info;
|
||||
struct wlan_channel channel;
|
||||
struct wlan_channel channel = {0};
|
||||
struct mlo_link_switch_context *link_ctx;
|
||||
uint8_t i = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user