diff options
Diffstat (limited to 'net/bluetooth/6lowpan.c')
-rw-r--r-- | net/bluetooth/6lowpan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/6lowpan.c b/net/bluetooth/6lowpan.c index 608959989f8e..ab3b654b05cc 100644 --- a/net/bluetooth/6lowpan.c +++ b/net/bluetooth/6lowpan.c | |||
@@ -598,7 +598,7 @@ static void netdev_setup(struct net_device *dev) | |||
598 | 598 | ||
599 | dev->netdev_ops = &netdev_ops; | 599 | dev->netdev_ops = &netdev_ops; |
600 | dev->header_ops = &header_ops; | 600 | dev->header_ops = &header_ops; |
601 | dev->destructor = free_netdev; | 601 | dev->needs_free_netdev = true; |
602 | } | 602 | } |
603 | 603 | ||
604 | static struct device_type bt_type = { | 604 | static struct device_type bt_type = { |