diff options
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r-- | net/mac80211/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index 5667f4e8067f..795f8c4a9fa0 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c | |||
@@ -916,6 +916,7 @@ int ieee80211_register_hw(struct ieee80211_hw *hw) | |||
916 | 916 | ||
917 | memcpy(local->mdev->dev_addr, local->hw.wiphy->perm_addr, ETH_ALEN); | 917 | memcpy(local->mdev->dev_addr, local->hw.wiphy->perm_addr, ETH_ALEN); |
918 | SET_NETDEV_DEV(local->mdev, wiphy_dev(local->hw.wiphy)); | 918 | SET_NETDEV_DEV(local->mdev, wiphy_dev(local->hw.wiphy)); |
919 | local->mdev->features |= NETIF_F_NETNS_LOCAL; | ||
919 | 920 | ||
920 | result = register_netdevice(local->mdev); | 921 | result = register_netdevice(local->mdev); |
921 | if (result < 0) | 922 | if (result < 0) |