]> git.baikalelectronics.ru Git - kernel.git/commit
rtl8xxxu: Reset device on module unload if still attached
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 9 Sep 2016 18:01:24 +0000 (14:01 -0400)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 14 Sep 2016 17:01:08 +0000 (20:01 +0300)
commit505ec2b64e5d3dbf64a3f966bbc6d98d4fb8fa37
tree71851557aa64c3a335669173c6ef1ea9eeb54c98
parent63ad3893efb42762257cf4dbbd276c5bd9127beb
rtl8xxxu: Reset device on module unload if still attached

If the USB dongle is still attached, reset it on module unload to
avoid scans failing when reloading the driver.

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