aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/cfg.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/cfg.c')
-rw-r--r--net/mac80211/cfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index 11156b381ec..d02d9ef6b1e 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -91,7 +91,7 @@ static int ieee80211_change_iface(struct wiphy *wiphy, int ifindex,
91 91
92 sdata = IEEE80211_DEV_TO_SUB_IF(dev); 92 sdata = IEEE80211_DEV_TO_SUB_IF(dev);
93 93
94 if (sdata->type == IEEE80211_IF_TYPE_VLAN) 94 if (sdata->vif.type == IEEE80211_IF_TYPE_VLAN)
95 return -EOPNOTSUPP; 95 return -EOPNOTSUPP;
96 96
97 ieee80211_if_reinit(dev); 97 ieee80211_if_reinit(dev);