|
@@ -919,7 +919,7 @@ static void ath9k_vif_iter_set_beacon(struct ath9k_vif_iter_data *iter_data,
|
|
} else {
|
|
} else {
|
|
if (iter_data->primary_beacon_vif->type != NL80211_IFTYPE_AP &&
|
|
if (iter_data->primary_beacon_vif->type != NL80211_IFTYPE_AP &&
|
|
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;
|
|
iter_data->beacons = true;
|