dect
/
linux-2.6
Archived
13
0
Fork 0

dect: coa: move LED toggling out of loop

Signed-off-by: Patrick McHardy <kaber@trash.net>
This commit is contained in:
Patrick McHardy 2009-05-28 17:52:17 +02:00
parent 1449f2c279
commit 76e2a79484
1 changed files with 3 additions and 3 deletions

View File

@ -766,13 +766,13 @@ irqreturn_t sc1442x_interrupt(int irq, void *dev_id)
if (unlikely(hweight8(irq) != 1 && net_ratelimit()))
dev_info(dev->dev, "lost some interrupts\n");
if (irq & SC1442X_IRQ_SLOT_0_5)
sc1442x_toggle_led(dev);
for (i = 0; i < 4; i++) {
if (!(irq & (1 << i)))
continue;
if (irq & SC1442X_IRQ_SLOT_0_5)
sc1442x_toggle_led(dev);
event = dect_transceiver_event(trx, i % 2, i * 6);
if (event == NULL)
goto out;