Commit ea9edaf6 authored by Larry Finger's avatar Larry Finger Committed by John W. Linville

hostap_cs: Enable shared interrupts

The hostap_cs driver is programmed for exclusive rather that shared
interrupts.
Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Reported-and-Tested-by: default avatarJack Schneider <puck@dp-indexing.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent e91d8334
...@@ -666,7 +666,8 @@ static int prism2_config(struct pcmcia_device *link) ...@@ -666,7 +666,8 @@ static int prism2_config(struct pcmcia_device *link)
* irq structure is initialized. * irq structure is initialized.
*/ */
if (link->conf.Attributes & CONF_ENABLE_IRQ) { 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.IRQInfo1 = IRQ_LEVEL_ID;
link->irq.Handler = prism2_interrupt; link->irq.Handler = prism2_interrupt;
link->irq.Instance = dev; link->irq.Instance = dev;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment