diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/mac80211/iface.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c index 79fc98815da8..fd0aa9328aff 100644 --- a/net/mac80211/iface.c +++ b/net/mac80211/iface.c | |||
@@ -399,6 +399,7 @@ int ieee80211_add_virtual_monitor(struct ieee80211_local *local) | |||
399 | sdata->vif.type = NL80211_IFTYPE_MONITOR; | 399 | sdata->vif.type = NL80211_IFTYPE_MONITOR; |
400 | snprintf(sdata->name, IFNAMSIZ, "%s-monitor", | 400 | snprintf(sdata->name, IFNAMSIZ, "%s-monitor", |
401 | wiphy_name(local->hw.wiphy)); | 401 | wiphy_name(local->hw.wiphy)); |
402 | sdata->wdev.iftype = NL80211_IFTYPE_MONITOR; | ||
402 | 403 | ||
403 | sdata->encrypt_headroom = IEEE80211_ENCRYPT_HEADROOM; | 404 | sdata->encrypt_headroom = IEEE80211_ENCRYPT_HEADROOM; |
404 | 405 | ||