diff options
Diffstat (limited to 'net/mac802154/ieee802154_dev.c')
-rw-r--r-- | net/mac802154/ieee802154_dev.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net/mac802154/ieee802154_dev.c b/net/mac802154/ieee802154_dev.c index 9b54370f5e87..b36b2b996578 100644 --- a/net/mac802154/ieee802154_dev.c +++ b/net/mac802154/ieee802154_dev.c | |||
@@ -167,11 +167,13 @@ mac802154_add_iface(struct wpan_phy *phy, const char *name, int type) | |||
167 | switch (type) { | 167 | switch (type) { |
168 | case IEEE802154_DEV_MONITOR: | 168 | case IEEE802154_DEV_MONITOR: |
169 | dev = alloc_netdev(sizeof(struct mac802154_sub_if_data), | 169 | dev = alloc_netdev(sizeof(struct mac802154_sub_if_data), |
170 | name, mac802154_monitor_setup); | 170 | name, NET_NAME_UNKNOWN, |
171 | mac802154_monitor_setup); | ||
171 | break; | 172 | break; |
172 | case IEEE802154_DEV_WPAN: | 173 | case IEEE802154_DEV_WPAN: |
173 | dev = alloc_netdev(sizeof(struct mac802154_sub_if_data), | 174 | dev = alloc_netdev(sizeof(struct mac802154_sub_if_data), |
174 | name, mac802154_wpan_setup); | 175 | name, NET_NAME_UNKNOWN, |
176 | mac802154_wpan_setup); | ||
175 | break; | 177 | break; |
176 | default: | 178 | default: |
177 | dev = NULL; | 179 | dev = NULL; |