]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ath9k: fix a misleading indentation
authorBob Copeland <me@bobcopeland.com>
Mon, 29 Feb 2016 01:07:56 +0000 (20:07 -0500)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 11 Mar 2016 12:00:01 +0000 (14:00 +0200)
These lines belong inside the if-statement above, not in the
main body of the switch.

Found by smatch.

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath9k/ar9003_phy.c

index 06c1ca6e829053efbd2d8c8620649792324f394d..be14a8e019167b9e21e6b7c98dfab4b9ab52c418 100644 (file)
@@ -1337,11 +1337,11 @@ skip_ws_det:
                                chan->channel,
                                aniState->mrcCCK ? "on" : "off",
                                is_on ? "on" : "off");
-               if (is_on)
-                       ah->stats.ast_ani_ccklow++;
-               else
-                       ah->stats.ast_ani_cckhigh++;
-               aniState->mrcCCK = is_on;
+                       if (is_on)
+                               ah->stats.ast_ani_ccklow++;
+                       else
+                               ah->stats.ast_ani_cckhigh++;
+                       aniState->mrcCCK = is_on;
                }
        break;
        }