diff options
| author | John W. Linville <linville@tuxdriver.com> | 2010-06-04 14:47:35 -0400 |
|---|---|---|
| committer | John W. Linville <linville@tuxdriver.com> | 2010-06-04 15:50:30 -0400 |
| commit | 56bf882230d2266a2e07b7f404dc96d157a65daa (patch) | |
| tree | 93a40ae8634f4669d7b7b67c907ce666d98829a7 | |
| parent | 51a0d38de26226f2779912d92f155b93d539da9a (diff) | |
Revert "wireless: hostap, fix oops due to early probing interrupt"
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>
| -rw-r--r-- | drivers/net/wireless/hostap/hostap_hw.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/net/wireless/hostap/hostap_hw.c b/drivers/net/wireless/hostap/hostap_hw.c index d70732819423..ff9b5c882184 100644 --- a/drivers/net/wireless/hostap/hostap_hw.c +++ b/drivers/net/wireless/hostap/hostap_hw.c | |||
| @@ -2618,15 +2618,6 @@ static irqreturn_t prism2_interrupt(int irq, void *dev_id) | |||
| 2618 | int events = 0; | 2618 | int events = 0; |
| 2619 | u16 ev; | 2619 | u16 ev; |
| 2620 | 2620 | ||
| 2621 | /* Detect early interrupt before driver is fully configued */ | ||
| 2622 | if (!dev->base_addr) { | ||
| 2623 | if (net_ratelimit()) { | ||
| 2624 | printk(KERN_DEBUG "%s: Interrupt, but dev not configured\n", | ||
| 2625 | dev->name); | ||
| 2626 | } | ||
| 2627 | return IRQ_HANDLED; | ||
| 2628 | } | ||
| 2629 | |||
| 2630 | iface = netdev_priv(dev); | 2621 | iface = netdev_priv(dev); |
| 2631 | local = iface->local; | 2622 | local = iface->local; |
| 2632 | 2623 | ||
