]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/mac802154/main.c
cfg802154: pass name_assign_type to rdev_add_virtual_intf()
[karo-tx-linux.git] / net / mac802154 / main.c
index 8500378c8318cd3b5b7e3a368f44080b40c5900f..68b9667323ece799f646f9f443156d55c8e611ff 100644 (file)
@@ -161,7 +161,8 @@ int ieee802154_register_hw(struct ieee802154_hw *hw)
 
        rtnl_lock();
 
-       dev = ieee802154_if_add(local, "wpan%d", NL802154_IFTYPE_NODE,
+       dev = ieee802154_if_add(local, "wpan%d", NET_NAME_ENUM,
+                               NL802154_IFTYPE_NODE,
                                cpu_to_le64(0x0000000000000000ULL));
        if (IS_ERR(dev)) {
                rtnl_unlock();