diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2014-03-06 00:25:59 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-03-06 20:29:57 +0100 |
commit | 2d9d532ff754c352e4b55527569d0552fc33c0db (patch) | |
tree | f62fb8f6825c97f0b447903e3496435c330b8032 /drivers/net/wireless/rtlwifi | |
parent | rtlwifi: rtl8723ae: Fix too long disable of IRQs (diff) | |
download | linux-2d9d532ff754c352e4b55527569d0552fc33c0db.tar.xz linux-2d9d532ff754c352e4b55527569d0552fc33c0db.zip |
rtlwifi: rtl8192ce: Handle unused switch case
This patch prevents log spamming by adding a case for a previously
unhandled case.
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')
-rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8192ce/hw.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8192ce/hw.c b/drivers/net/wireless/rtlwifi/rtl8192ce/hw.c index c6a38201ac81..4ae51d5b436f 100644 --- a/drivers/net/wireless/rtlwifi/rtl8192ce/hw.c +++ b/drivers/net/wireless/rtlwifi/rtl8192ce/hw.c @@ -542,9 +542,11 @@ void rtl92ce_set_hw_reg(struct ieee80211_hw *hw, u8 variable, u8 *val) (u8 *)(&fw_current_inps)); } break; } + case HW_VAR_KEEP_ALIVE: + break; default: RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG, - "switch case not processed\n"); + "switch case %d not processed\n", variable); break; } } |