Skip to content

Commit

Permalink
mac80211: suppress BSS info change notifications for AP_VLAN
Browse files Browse the repository at this point in the history
Fixes warnings on tx power changes

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
  • Loading branch information
Felix Fietkau authored and Johannes Berg committed Apr 11, 2014
1 parent 00a9a6d commit 990baec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/mac80211/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ void ieee80211_bss_info_change_notify(struct ieee80211_sub_if_data *sdata,
{
struct ieee80211_local *local = sdata->local;

if (!changed)
if (!changed || sdata->vif.type == NL80211_IFTYPE_AP_VLAN)
return;

drv_bss_info_changed(local, sdata, &sdata->vif.bss_conf, changed);
Expand Down

0 comments on commit 990baec

Please sign in to comment.