aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/hostap/hostap_cs.c
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2009-07-15 23:49:27 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-07-24 15:05:19 -0400
commitea9edaf6bc0e3f3a7bd167d9ba369276a30c9953 (patch)
treea2851e3ea23f8ccd27b11e849e5e3e474edfcff6 /drivers/net/wireless/hostap/hostap_cs.c
parente91d83346ad9b30f44469c92b982206dcd7dcaf0 (diff)
hostap_cs: Enable shared interrupts
The hostap_cs driver is programmed for exclusive rather that shared interrupts. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Reported-and-Tested-by: Jack Schneider <puck@dp-indexing.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/hostap/hostap_cs.c')
-rw-r--r--drivers/net/wireless/hostap/hostap_cs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/hostap/hostap_cs.c b/drivers/net/wireless/hostap/hostap_cs.c
index 633740277352..ad8eab4a639b 100644
--- a/drivers/net/wireless/hostap/hostap_cs.c
+++ b/drivers/net/wireless/hostap/hostap_cs.c
@@ -666,7 +666,8 @@ static int prism2_config(struct pcmcia_device *link)
666 * irq structure is initialized. 666 * irq structure is initialized.
667 */ 667 */
668 if (link->conf.Attributes & CONF_ENABLE_IRQ) { 668 if (link->conf.Attributes & CONF_ENABLE_IRQ) {
669 link->irq.Attributes = IRQ_TYPE_EXCLUSIVE | IRQ_HANDLE_PRESENT; 669 link->irq.Attributes = IRQ_TYPE_DYNAMIC_SHARING |
670 IRQ_HANDLE_PRESENT;
670 link->irq.IRQInfo1 = IRQ_LEVEL_ID; 671 link->irq.IRQInfo1 = IRQ_LEVEL_ID;
671 link->irq.Handler = prism2_interrupt; 672 link->irq.Handler = prism2_interrupt;
672 link->irq.Instance = dev; 673 link->irq.Instance = dev;