OpenCloudOS-Kernel/drivers/net/wireless/hostap
Colin Ian King 15920d8afc wireless: hostap, fix oops due to early probing interrupt
BugLink: https://bugs.launchpad.net/ubuntu/+bug/254837

Spurious shared interrupts or early probing interrupts can cause the
hostap interrupt handler to oops before the driver has fully configured
the IO base port addresses. In some cases the oops can be because
the hardware shares an interrupt line, on other cases it is due to a
race condition between probing for the hardware and configuring
the IO base port. The latter occurs because the probing is required to
determin the hardware port address which is only determined when the probe
can interrupt the hardware (catch 22).

This patch catches this pre-configured condition to avoid the oops.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Tim Gardner <tim.gardner@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-12-21 18:38:49 -05:00
..
Kconfig wireless: remove WLAN_80211 and WLAN_PRE80211 from Kconfig 2009-10-30 16:50:35 -04:00
Makefile
hostap.h hostap: convert usage of net/ieee80211.h to linux/ieee80211.h 2009-02-27 14:51:41 -05:00
hostap_80211.h wireless: convert drivers to netdev_tx_t 2009-09-01 01:14:04 -07:00
hostap_80211_rx.c hostap: convert to internal net_device_stats 2009-03-21 22:55:34 -07:00
hostap_80211_tx.c wireless: convert drivers to netdev_tx_t 2009-09-01 01:14:04 -07:00
hostap_ap.c hostap: convert to internal net_device_stats 2009-03-21 22:55:34 -07:00
hostap_ap.h hostap: convert usage of net/ieee80211.h to linux/ieee80211.h 2009-02-27 14:51:41 -05:00
hostap_common.h
hostap_config.h
hostap_cs.c pcmcia: rework the irq_req_t typedef 2009-11-28 18:03:14 +01:00
hostap_download.c
hostap_hw.c wireless: hostap, fix oops due to early probing interrupt 2009-12-21 18:38:49 -05:00
hostap_info.c headers: remove sched.h from interrupt.h 2009-10-11 11:20:58 -07:00
hostap_ioctl.c headers: remove sched.h from interrupt.h 2009-10-11 11:20:58 -07:00
hostap_main.c hostap: Revert a toxic part of the conversion to net_device_ops 2009-09-14 14:36:03 -04:00
hostap_pci.c
hostap_plx.c wireless: remove some (bogus?) 'may be used uninitialized' warnings 2009-04-24 15:41:41 -04:00
hostap_proc.c
hostap_wlan.h hostap: convert to internal net_device_stats 2009-03-21 22:55:34 -07:00