Commit 7801e8d6 authored by Mark Einon's avatar Mark Einon Committed by Greg Kroah-Hartman

staging: rtl8821ae: Fix indetentation of switch case statements

Fixes checkpatch error:

ERROR: switch and case should be at the same indent
+               switch (coex_dm->cur_retrylimit_type) {
+                       case 0: /* normal mode */
[...]
+                       case 1: /* retry limit=8 */
[...]
+                       default:
Signed-off-by: default avatarMark Einon <mark@einon.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a668d5d5
......@@ -372,16 +372,16 @@ static void halbtc8192e2ant_retrylimit(struct btc_coexist *btcoexist,
if (force_exec || (coex_dm->pre_retrylimit_type !=
coex_dm->cur_retrylimit_type)) {
switch (coex_dm->cur_retrylimit_type) {
case 0: /* normal mode */
btcoexist->btc_write_2byte(btcoexist, 0x42a,
coex_dm->backup_retrylimit);
break;
case 1: /* retry limit=8 */
btcoexist->btc_write_2byte(btcoexist, 0x42a,
0x0808);
break;
default:
break;
case 0: /* normal mode */
btcoexist->btc_write_2byte(btcoexist, 0x42a,
coex_dm->backup_retrylimit);
break;
case 1: /* retry limit=8 */
btcoexist->btc_write_2byte(btcoexist, 0x42a,
0x0808);
break;
default:
break;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment