Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 111705
b: refs/heads/master
c: 7a725f7
h: refs/heads/master
i:
  111703: f36c198
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed Sep 15, 2008
1 parent 2b82dfb commit 13ea165
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0d143fe1e2efc084fa730d2dfa22d0d1ca2ee5f1
refs/heads/master: 7a725f73403e874ec52c58741e9b98cd604dbd03
6 changes: 6 additions & 0 deletions trunk/net/mac80211/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,9 @@ int ieee80211_if_config(struct ieee80211_sub_if_data *sdata, u32 changed)
if (WARN_ON(!netif_running(sdata->dev)))
return 0;

if (WARN_ON(sdata->vif.type == NL80211_IFTYPE_AP_VLAN))
return -EINVAL;

if (!local->ops->config_interface)
return 0;

Expand Down Expand Up @@ -321,6 +324,9 @@ void ieee80211_bss_info_change_notify(struct ieee80211_sub_if_data *sdata,
{
struct ieee80211_local *local = sdata->local;

if (WARN_ON(sdata->vif.type == NL80211_IFTYPE_AP_VLAN))
return;

if (!changed)
return;

Expand Down

0 comments on commit 13ea165

Please sign in to comment.