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

Signed-off-by: Dan Carpenter <[email protected]>

diff --git a/drivers/net/wireless/ath/ath9k/main.c 
b/drivers/net/wireless/ath/ath9k/main.c
index a394622..eb00724 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;
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to