Revert "wireless: hostap, fix oops due to early probing interrupt"
authorJohn W. Linville <linville@tuxdriver.com>
Fri, 4 Jun 2010 18:47:35 +0000 (14:47 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 4 Jun 2010 19:50:30 +0000 (15:50 -0400)
This reverts commit 15920d8afc87861672e16fa95ae2764b065d6dd3.

This patch was discovered to cause some hostap devices to fail to
initialized.

https://bugzilla.kernel.org/show_bug.cgi?id=16111

Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/hostap/hostap_hw.c

index d70732819423d25d09627fa0bc371be5f6976896..ff9b5c882184a00e58316166a62fd5514ead0ae6 100644 (file)
@@ -2618,15 +2618,6 @@ static irqreturn_t prism2_interrupt(int irq, void *dev_id)
        int events = 0;
        u16 ev;
 
-       /* Detect early interrupt before driver is fully configued */
-       if (!dev->base_addr) {
-               if (net_ratelimit()) {
-                       printk(KERN_DEBUG "%s: Interrupt, but dev not configured\n",
-                              dev->name);
-               }
-               return IRQ_HANDLED;
-       }
-
        iface = netdev_priv(dev);
        local = iface->local;