diff options
author | Bob Copeland <me@bobcopeland.com> | 2016-02-29 02:07:56 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2016-03-11 13:00:01 +0100 |
commit | 1451a3634ff5a443e256eb693627ffb1e34cd337 (patch) | |
tree | a2e75ca32d1f1ad8e7daf3d18f9c0f74c076cd86 | |
parent | ath5k: fix incorrect indentation (diff) | |
download | linux-1451a3634ff5a443e256eb693627ffb1e34cd337.tar.xz linux-1451a3634ff5a443e256eb693627ffb1e34cd337.zip |
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>
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ar9003_phy.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_phy.c b/drivers/net/wireless/ath/ath9k/ar9003_phy.c index 06c1ca6e8290..be14a8e01916 100644 --- a/drivers/net/wireless/ath/ath9k/ar9003_phy.c +++ b/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; } |