diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/init.c')
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/init.c b/drivers/net/wireless/ath/ath6kl/init.c index 96953be5cd73..a638c3c9b79b 100644 --- a/drivers/net/wireless/ath/ath6kl/init.c +++ b/drivers/net/wireless/ath/ath6kl/init.c | |||
@@ -1389,6 +1389,8 @@ void ath6kl_destroy(struct net_device *dev, unsigned int unregister) | |||
1389 | 1389 | ||
1390 | ath6kl_bmi_cleanup(ar); | 1390 | ath6kl_bmi_cleanup(ar); |
1391 | 1391 | ||
1392 | ath6kl_debug_cleanup(ar); | ||
1393 | |||
1392 | if (unregister && test_bit(NETDEV_REGISTERED, &ar->flag)) { | 1394 | if (unregister && test_bit(NETDEV_REGISTERED, &ar->flag)) { |
1393 | unregister_netdev(dev); | 1395 | unregister_netdev(dev); |
1394 | clear_bit(NETDEV_REGISTERED, &ar->flag); | 1396 | clear_bit(NETDEV_REGISTERED, &ar->flag); |