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 81087281b031..3c95cd9bf8ee 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -57,7 +57,7 @@ static int ieee80211_add_iface(struct wiphy *wiphy, char *name,
57 if (itype == IEEE80211_IF_TYPE_INVALID) 57 if (itype == IEEE80211_IF_TYPE_INVALID)
58 return -EINVAL; 58 return -EINVAL;
59 59
60 err = ieee80211_if_add(local->mdev, name, &dev, itype, params); 60 err = ieee80211_if_add(local, name, &dev, itype, params);
61 if (err || itype != IEEE80211_IF_TYPE_MNTR || !flags) 61 if (err || itype != IEEE80211_IF_TYPE_MNTR || !flags)
62 return err; 62 return err;
63 63