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>
Wed, 8 Jan 2014 17:42:12 +0000 (09:42 -0800)
commit1005954e40d50fbbbf48bd3c7fe4942f42f26f75
treeec1635f6ab9f5715e47445c06aa80947477fdbbe
parenta86f1d64f44d5e443eb0f5eb9498583f364e9f33
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