Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH] ath9k: fix misleading indent
@ 2016-07-21 16:31 Bob Copeland
  2016-07-22  4:49 ` Julian Calaby
  2016-08-19 10:06 ` Kalle Valo
  0 siblings, 2 replies; 3+ messages in thread
From: Bob Copeland @ 2016-07-21 16:31 UTC (permalink / raw)
  To: linux-wireless; +Cc: Bob Copeland

Fixes smatch warning:

ath9k_vif_iter_set_beacon() warn if statement not indented

Signed-off-by: Bob Copeland <me@bobcopeland.com>
---
 drivers/net/wireless/ath/ath9k/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c
index 7594650..70ca746 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;
-- 
2.9.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-08-19 10:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-21 16:31 [PATCH] ath9k: fix misleading indent Bob Copeland
2016-07-22  4:49 ` Julian Calaby
2016-08-19 10:06 ` Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox