ath9k: fix misleading indent
authorBob Copeland <[email protected]>
Thu, 18 Aug 2016 13:52:08 +0000 (16:52 +0300)
committerKalle Valo <[email protected]>
Fri, 19 Aug 2016 10:05:26 +0000 (13:05 +0300)
Fixes smatch warning:

ath9k_vif_iter_set_beacon() warn if statement not indented

Signed-off-by: Bob Copeland <[email protected]>
Reviewed-by: Julian Calaby <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
drivers/net/wireless/ath/ath9k/main.c

index a394622c9022c09488c59a85b878021c7c7b11a0..eb00724d560afa5abf7b1e56aacc483dd9621cbd 100644 (file)
@@ -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;