diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2011-06-10 18:05:23 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-06-10 20:57:54 +0200 |
commit | 7101f4043cdaa5dc2bf8974313744246f3955de7 (patch) | |
tree | 8d66141264d8f9b2ff5fe6826196a9469bbfa058 /drivers/net/wireless/rtlwifi/rtl8192ce/trx.c | |
parent | drivers: bcma: export bcma_core_disable() function (diff) | |
download | linux-7101f4043cdaa5dc2bf8974313744246f3955de7.tar.xz linux-7101f4043cdaa5dc2bf8974313744246f3955de7.zip |
rtlwifi: Fix warnings on parisc arch
In "Build regressions/improvements in v3.0-rc2", Geert Uytterhoeven
reports a number of warnings that occur for parisc builds of rtlwifi
and dependents.
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/rtl8192ce/trx.c')
-rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8192ce/trx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8192ce/trx.c b/drivers/net/wireless/rtlwifi/rtl8192ce/trx.c index 2492cc234c03..be375214ad9e 100644 --- a/drivers/net/wireless/rtlwifi/rtl8192ce/trx.c +++ b/drivers/net/wireless/rtlwifi/rtl8192ce/trx.c @@ -225,7 +225,7 @@ static void _rtl92ce_query_rxphystatus(struct ieee80211_hw *hw, { struct rtl_priv *rtlpriv = rtl_priv(hw); struct phy_sts_cck_8192s_t *cck_buf; - s8 rx_pwr_all, rx_pwr[4]; + s8 rx_pwr_all = 0, rx_pwr[4]; u8 evm, pwdb_all, rf_rx_num = 0; u8 i, max_spatial_stream; u32 rssi, total_rssi = 0; |