rtlwifi: pci: Fix oops on driver unload
authorLarry Finger <Larry.Finger@lwfinger.net>
Wed, 11 Dec 2013 23:13:10 +0000 (17:13 -0600)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 17 Dec 2013 18:58:25 +0000 (13:58 -0500)
commit9278db6279e28d4d433bc8a848e10b4ece8793ed
tree0d16d667bfe95e1247dec8dc677bcc4257057f7a
parent657eb17d87852c42b55c4b06d5425baa08b2ddb3
rtlwifi: pci: Fix oops on driver unload

On Fedora systems, unloading rtl8192ce causes an oops. This patch fixes the
problem reported at https://bugzilla.redhat.com/show_bug.cgi?id=852761.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Stable <stable@vger.kernel.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/pci.c