提交 124bf340 编写于 作者: A Arend van Spriel 提交者: Greg Kroah-Hartman

staging: brcm80211: fix 'uninitialized usage' compiler warning

Building for the ARM resulted in a compiler warning about usage of
a possibly uninitialized variable. The warning is valid and the
code has been fixed accordingly.
Reviewed-by: NPieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: NHenry Ptasinski <henryp@broadcom.com>
Signed-off-by: NArend van Spriel <arend@broadcom.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 d788766c
...@@ -1279,8 +1279,8 @@ brcms_c_channel_reg_limits(struct brcms_cm_info *wlc_cm, u16 chanspec, ...@@ -1279,8 +1279,8 @@ brcms_c_channel_reg_limits(struct brcms_cm_info *wlc_cm, u16 chanspec,
const struct country_info *country; const struct country_info *country;
struct brcms_band *band; struct brcms_band *band;
const struct locale_info *li; const struct locale_info *li;
int conducted_max; int conducted_max = BRCMS_TXPWR_MAX;
int conducted_ofdm_max; int conducted_ofdm_max = BRCMS_TXPWR_MAX;
const struct locale_mimo_info *li_mimo; const struct locale_mimo_info *li_mimo;
int maxpwr20, maxpwr40; int maxpwr20, maxpwr40;
int maxpwr_idx; int maxpwr_idx;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册