Skip to contentSkip to conversation

ath9k: indent an if statement

PATCH New Dan Carpenter 3 participants 3 messages Aug 3, 2016 – Aug 31, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ath9k: indent an if statement

It looks like this code is correct, but it just needs to be indented a bit.

drivers/net/wireless/ath/ath9k/main.c +1 -1
index a394622..eb00724 100644
@@ -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 lore raw

PATCH 1/1 ath9k: indent an if statement

In reply to Dan Carpenter
Quoted 4 lines · Dan Carpenter

It looks like this code is correct, but it just needs to be indented a bit.

Doesn't apply anymore:

Importing patch "ath9k-indent-an-if-statement" ... error: patch failed: drivers/net/wireless/ath/ath9k/main.c:919
error: drivers/net/wireless/ath/ath9k/main.c: patch does not apply
stg import: Diff does not apply cleanly

Signature · 1 line
Kalle Valo