mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
bfc1010c41
commit
2d9d532ff7
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue