mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 04:48:04 +09:00
net: wireless: bcm4329: Fix interrupt enabling in case of error
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
This commit is contained in:
committed by
Colin Cross
parent
145537d0b1
commit
a858d75563
@@ -4218,9 +4218,6 @@ dhdsdio_dpc(dhd_bus_t *bus)
|
||||
bus->intstatus = intstatus;
|
||||
|
||||
clkwait:
|
||||
#if defined(OOB_INTR_ONLY)
|
||||
bcmsdh_oob_intr_set(1);
|
||||
#endif /* (OOB_INTR_ONLY) */
|
||||
/* Re-enable interrupts to detect new device events (mailbox, rx frame)
|
||||
* or clock availability. (Allows tx loop to check ipend if desired.)
|
||||
* (Unless register access seems hosed, as we may not be able to ACK...)
|
||||
@@ -4229,6 +4226,9 @@ clkwait:
|
||||
DHD_INTR(("%s: enable SDIO interrupts, rxdone %d framecnt %d\n",
|
||||
__FUNCTION__, rxdone, framecnt));
|
||||
bus->intdis = FALSE;
|
||||
#if defined(OOB_INTR_ONLY)
|
||||
bcmsdh_oob_intr_set(1);
|
||||
#endif /* (OOB_INTR_ONLY) */
|
||||
bcmsdh_intr_enable(sdh);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user