aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rtlwifi
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2014-03-05 18:25:59 -0500
committerJohn W. Linville <linville@tuxdriver.com>2014-03-06 14:29:57 -0500
commit2d9d532ff754c352e4b55527569d0552fc33c0db (patch)
treef62fb8f6825c97f0b447903e3496435c330b8032 /drivers/net/wireless/rtlwifi
parentbfc1010c418a22cbebd8b1bd1e75dad6a527a609 (diff)
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.c4
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)
542 (u8 *)(&fw_current_inps)); 542 (u8 *)(&fw_current_inps));
543 } 543 }
544 break; } 544 break; }
545 case HW_VAR_KEEP_ALIVE:
546 break;
545 default: 547 default:
546 RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG, 548 RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG,
547 "switch case not processed\n"); 549 "switch case %d not processed\n", variable);
548 break; 550 break;
549 } 551 }
550} 552}