summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/main.c
diff options
context:
space:
mode:
authorBob Copeland <me@bobcopeland.com>2016-08-18 16:52:08 +0300
committerKalle Valo <kvalo@qca.qualcomm.com>2016-08-19 13:05:26 +0300
commit4c51e7db87b753ce16c35ed0111eb273fe1a5135 (patch)
tree71656bf6de7800ae25fd39c40c482cf3cf6793c8 /drivers/net/wireless/ath/ath9k/main.c
parent60747ef4d173c2747bf7f0377fb22846cb422195 (diff)
downloadlinux-stable-4c51e7db87b753ce16c35ed0111eb273fe1a5135.tar.gz
linux-stable-4c51e7db87b753ce16c35ed0111eb273fe1a5135.tar.bz2
linux-stable-4c51e7db87b753ce16c35ed0111eb273fe1a5135.zip
ath9k: fix misleading indent
Fixes smatch warning: ath9k_vif_iter_set_beacon() warn if statement not indented Signed-off-by: Bob Copeland <me@bobcopeland.com> Reviewed-by: Julian Calaby <julian.calaby@gmail.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/main.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c
index a394622c9022..eb00724d560a 100644
--- a/drivers/net/wireless/ath/ath9k/main.c
+++ b/drivers/net/wireless/ath/ath9k/main.c
@@ -919,7 +919,7 @@ static void ath9k_vif_iter_set_beacon(struct ath9k_vif_iter_data *iter_data,
} else {
if (iter_data->primary_beacon_vif->type != NL80211_IFTYPE_AP &&
vif->type == NL80211_IFTYPE_AP)
- iter_data->primary_beacon_vif = vif;
+ iter_data->primary_beacon_vif = vif;
}
iter_data->beacons = true;