aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/iface.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/iface.c')
-rw-r--r--net/mac80211/iface.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c
index 559d698369c7..0cb29df09e35 100644
--- a/net/mac80211/iface.c
+++ b/net/mac80211/iface.c
@@ -787,6 +787,7 @@ int ieee80211_if_add(struct ieee80211_local *local, const char *name,
787 name, ieee80211_if_setup); 787 name, ieee80211_if_setup);
788 if (!ndev) 788 if (!ndev)
789 return -ENOMEM; 789 return -ENOMEM;
790 dev_net_set(ndev, wiphy_net(local->hw.wiphy));
790 791
791 ndev->needed_headroom = local->tx_headroom + 792 ndev->needed_headroom = local->tx_headroom +
792 4*6 /* four MAC addresses */ 793 4*6 /* four MAC addresses */