aboutsummaryrefslogtreecommitdiffstats
path: root/net/ieee802154/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ieee802154/core.c')
-rw-r--r--net/ieee802154/core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ieee802154/core.c b/net/ieee802154/core.c
index 18bc7e738507..888d0991c761 100644
--- a/net/ieee802154/core.c
+++ b/net/ieee802154/core.c
@@ -225,6 +225,7 @@ static int cfg802154_netdev_notifier_call(struct notifier_block *nb,
225 switch (state) { 225 switch (state) {
226 /* TODO NETDEV_DEVTYPE */ 226 /* TODO NETDEV_DEVTYPE */
227 case NETDEV_REGISTER: 227 case NETDEV_REGISTER:
228 dev->features |= NETIF_F_NETNS_LOCAL;
228 wpan_dev->identifier = ++rdev->wpan_dev_id; 229 wpan_dev->identifier = ++rdev->wpan_dev_id;
229 list_add_rcu(&wpan_dev->list, &rdev->wpan_dev_list); 230 list_add_rcu(&wpan_dev->list, &rdev->wpan_dev_list);
230 rdev->devlist_generation++; 231 rdev->devlist_generation++;