[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4F83359B.90103@lwfinger.net>
Date: Mon, 09 Apr 2012 14:16:43 -0500
From: Larry Finger <Larry.Finger@...inger.net>
To: Dave Airlie <airlied@...il.com>
CC: LKML <linux-kernel@...r.kernel.org>,
Linux Wireless List <linux-wireless@...r.kernel.org>
Subject: Re: oops on rmmod of rtl8192ce
On 04/09/2012 10:02 AM, Dave Airlie wrote:
> ping any ideas on this oops on unload?
Sorry about the delay.
The oops looks like interrupts are not being disabled soon enough. Does the
following patch help?
Index: wireless-testing-new/drivers/net/wireless/rtlwifi/pci.c
===================================================================
--- wireless-testing-new.orig/drivers/net/wireless/rtlwifi/pci.c
+++ wireless-testing-new/drivers/net/wireless/rtlwifi/pci.c
@@ -1943,6 +1943,7 @@ void rtl_pci_disconnect(struct pci_dev *
rtl_deinit_deferred_work(hw);
rtlpriv->intf_ops->adapter_stop(hw);
}
+ rtlpriv->cfg->ops->disable_interrupt(hw);
/*deinit rfkill */
rtl_deinit_rfkill(hw);
Larry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists