hostap_cs: Enable shared interrupts
authorLarry Finger <Larry.Finger@lwfinger.net>
Thu, 16 Jul 2009 03:49:27 +0000 (22:49 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 24 Jul 2009 19:05:19 +0000 (15:05 -0400)
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>
drivers/net/wireless/hostap/hostap_cs.c

index 6337402..ad8eab4 100644 (file)
@@ -666,7 +666,8 @@ static int prism2_config(struct pcmcia_device *link)
         * irq structure is initialized.
         */
        if (link->conf.Attributes & CONF_ENABLE_IRQ) {
-               link->irq.Attributes = IRQ_TYPE_EXCLUSIVE | IRQ_HANDLE_PRESENT;
+               link->irq.Attributes = IRQ_TYPE_DYNAMIC_SHARING |
+                                      IRQ_HANDLE_PRESENT;
                link->irq.IRQInfo1 = IRQ_LEVEL_ID;
                link->irq.Handler = prism2_interrupt;
                link->irq.Instance = dev;