mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
qcacld-3.0: Fix static code analysis warning
Initialize chan_id with 0 in struct wifi_pos_ch_info since it is obsoleted by channel frequency. Change-Id: I8228ffc0cce33dcaaa73c29cca5760ff2dbfd8fd CRs-Fixed: 2749395
This commit is contained in:
parent
ae9c5c8b26
commit
7fa0f52e75
1 changed files with 2 additions and 0 deletions
|
|
@ -3716,6 +3716,8 @@ static inline void hdd_send_peer_status_ind_to_app(
|
|||
return;
|
||||
}
|
||||
|
||||
/* chan_id is obsoleted by mhz */
|
||||
ch_info.chan_id = 0;
|
||||
ch_info.mhz = chan_info->mhz;
|
||||
ch_info.band_center_freq1 = chan_info->band_center_freq1;
|
||||
ch_info.band_center_freq2 = chan_info->band_center_freq2;
|
||||
|
|
|
|||
Loading…
Reference in a new issue