diff options
Diffstat (limited to 'net/mac802154/iface.c')
-rw-r--r-- | net/mac802154/iface.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/net/mac802154/iface.c b/net/mac802154/iface.c index 2423aa7671df..1c0274ed9370 100644 --- a/net/mac802154/iface.c +++ b/net/mac802154/iface.c | |||
@@ -417,8 +417,6 @@ void mac802154_wpan_setup(struct net_device *dev) | |||
417 | sdata = IEEE802154_DEV_TO_SUB_IF(dev); | 417 | sdata = IEEE802154_DEV_TO_SUB_IF(dev); |
418 | sdata->type = IEEE802154_DEV_WPAN; | 418 | sdata->type = IEEE802154_DEV_WPAN; |
419 | 419 | ||
420 | sdata->chan = MAC802154_CHAN_NONE; | ||
421 | |||
422 | spin_lock_init(&sdata->mib_lock); | 420 | spin_lock_init(&sdata->mib_lock); |
423 | mutex_init(&sdata->sec_mtx); | 421 | mutex_init(&sdata->sec_mtx); |
424 | 422 | ||
@@ -454,6 +452,4 @@ void mac802154_monitor_setup(struct net_device *dev) | |||
454 | 452 | ||
455 | sdata = IEEE802154_DEV_TO_SUB_IF(dev); | 453 | sdata = IEEE802154_DEV_TO_SUB_IF(dev); |
456 | sdata->type = IEEE802154_DEV_MONITOR; | 454 | sdata->type = IEEE802154_DEV_MONITOR; |
457 | |||
458 | sdata->chan = MAC802154_CHAN_NONE; /* not initialized */ | ||
459 | } | 455 | } |