Fix for prism2 non-pcmcia so we don't spin endlessly on interrupts.
Clay Jones' patch was only good for pcmcia.
This commit is contained in:
parent
ce4d8aba2f
commit
40c39792f8
|
@ -3427,8 +3427,14 @@ void hfa384x_interrupt(int irq, void *dev_id, struct pt_regs *regs)
|
|||
int ev_read = 0;
|
||||
DBFENTER;
|
||||
|
||||
if ((hw->hwremoved) || (hw->iobase == 0))
|
||||
if (hw->hwremoved)
|
||||
return; /* Not much we can do w/o hardware */
|
||||
#if (WLAN_HOSTIF == WLAN_PCMCIA)
|
||||
if (hw->iobase == 0) /* XXX FIXME Properly */
|
||||
return;
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
/* Check swsupport reg magic # for card presence */
|
||||
reg = hfa384x_getreg(hw, HFA384x_SWSUPPORT0);
|
||||
|
|
Loading…
Reference in a new issue