Skip to content

Commit 1451a36

Browse files
bcopelandkvalo
authored andcommitted
ath9k: fix a misleading indentation
These lines belong inside the if-statement above, not in the main body of the switch. Found by smatch. Signed-off-by: Bob Copeland <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
1 parent 0eb69ef commit 1451a36

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

drivers/net/wireless/ath/ath9k/ar9003_phy.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1337,11 +1337,11 @@ static bool ar9003_hw_ani_control(struct ath_hw *ah,
13371337
chan->channel,
13381338
aniState->mrcCCK ? "on" : "off",
13391339
is_on ? "on" : "off");
1340-
if (is_on)
1341-
ah->stats.ast_ani_ccklow++;
1342-
else
1343-
ah->stats.ast_ani_cckhigh++;
1344-
aniState->mrcCCK = is_on;
1340+
if (is_on)
1341+
ah->stats.ast_ani_ccklow++;
1342+
else
1343+
ah->stats.ast_ani_cckhigh++;
1344+
aniState->mrcCCK = is_on;
13451345
}
13461346
break;
13471347
}

0 commit comments

Comments
 (0)