staging: rtl8821ae: Fix indetentation of switch case statements
authorMark Einon <mark@einon.net>
Sat, 19 Apr 2014 14:35:49 +0000 (15:35 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Apr 2014 22:47:34 +0000 (15:47 -0700)
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: Mark Einon <mark@einon.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8821ae/btcoexist/halbtc8192e2ant.c

index db48692130057506b89be2bda0f3c32ed3e7ee9d..244b3c6255d2ae42124579f895b7456782ea957b 100644 (file)
@@ -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;
                }
        }