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
1 changed files with 3 additions and 1 deletions
|
@ -542,9 +542,11 @@ void rtl92ce_set_hw_reg(struct ieee80211_hw *hw, u8 variable, u8 *val)
|
||||||
(u8 *)(&fw_current_inps));
|
(u8 *)(&fw_current_inps));
|
||||||
}
|
}
|
||||||
break; }
|
break; }
|
||||||
|
case HW_VAR_KEEP_ALIVE:
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG,
|
RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG,
|
||||||
"switch case not processed\n");
|
"switch case %d not processed\n", variable);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue