rtl8xxxu: Unregister from mac80211 before shutting down the device
authorJes Sorensen <Jes.Sorensen@redhat.com>
Thu, 14 Apr 2016 20:37:13 +0000 (16:37 -0400)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 15 Apr 2016 18:38:09 +0000 (21:38 +0300)
commit8cae2f1da87c82b2a0031f4d19c142e7bc22f1d7
tree3842f976878ee9bba9cfad76faf34e21e28dc30a
parent8e25496090431553ce2200f53bbe194b9e0a19d2
rtl8xxxu: Unregister from mac80211 before shutting down the device

This fixes a long standing bug where mac80211 would send disconnect
packets to the device, after we had shut down the device.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.c