Bluetooth: 6LoWPAN: Remove network devices when unloading
authorJukka Rissanen <jukka.rissanen@linux.intel.com>
Wed, 18 Jun 2014 13:37:11 +0000 (16:37 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 3 Jul 2014 15:42:44 +0000 (17:42 +0200)
commit7f118253820fc3ad38659485adb3ebdfe64820e1
treecd67fbc21f11ab11d5db2dd8ab885ca15d98ff2e
parent18d93c176641cf7a3c0c452a6f03f46b5373d370
Bluetooth: 6LoWPAN: Remove network devices when unloading

When the module is unloaded, unregister the network device
so that the system does not try to access non-existing device.

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/6lowpan.c