Explorar o código

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 <me@bobcopeland.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Bob Copeland %!s(int64=9) %!d(string=hai) anos
pai
achega
1451a3634f
Modificáronse 1 ficheiros con 5 adicións e 5 borrados
  1. 5 5
      drivers/net/wireless/ath/ath9k/ar9003_phy.c

+ 5 - 5
drivers/net/wireless/ath/ath9k/ar9003_phy.c

@@ -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;
 	}