rtlwifi: pci: Fix oops on driver unload
authorLarry Finger <Larry.Finger@lwfinger.net>
Wed, 11 Dec 2013 23:13:10 +0000 (17:13 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jan 2014 20:25:13 +0000 (12:25 -0800)
commite123196f24da85f70d64fb65e506166a3387b2dc
tree90d81e05df2d4cfc03d0e937c532237c98053fae
parent3b3299df71d35c2a9bae5d67164d1107969a5fee
rtlwifi: pci: Fix oops on driver unload

commit 9278db6279e28d4d433bc8a848e10b4ece8793ed upstream.

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>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/rtlwifi/pci.c