Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 278415
b: refs/heads/master
c: de2e56c
h: refs/heads/master
i:
  278413: b42650f
  278411: 4c70eb6
  278407: fb3327c
  278399: e90cd59
v: v3
  • Loading branch information
Larry Finger authored and John W. Linville committed Nov 28, 2011
1 parent 435db03 commit 95f0fb5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bc192f8918ab8e41ba53b9ef881bc425ae92ed1b
refs/heads/master: de2e56cea25c80f91a6c6699de40fb3fe8b2479d
7 changes: 5 additions & 2 deletions trunk/drivers/net/wireless/rtlwifi/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -780,15 +780,18 @@ static irqreturn_t _rtl_pci_interrupt(int irq, void *dev_id)
unsigned long flags;
u32 inta = 0;
u32 intb = 0;
irqreturn_t ret = IRQ_HANDLED;

spin_lock_irqsave(&rtlpriv->locks.irq_th_lock, flags);

/*read ISR: 4/8bytes */
rtlpriv->cfg->ops->interrupt_recognized(hw, &inta, &intb);

/*Shared IRQ or HW disappared */
if (!inta || inta == 0xffff)
if (!inta || inta == 0xffff) {
ret = IRQ_NONE;
goto done;
}

/*<1> beacon related */
if (inta & rtlpriv->cfg->maps[RTL_IMR_TBDOK]) {
Expand Down Expand Up @@ -892,7 +895,7 @@ static irqreturn_t _rtl_pci_interrupt(int irq, void *dev_id)

done:
spin_unlock_irqrestore(&rtlpriv->locks.irq_th_lock, flags);
return IRQ_HANDLED;
return ret;
}

static void _rtl_pci_irq_tasklet(struct ieee80211_hw *hw)
Expand Down

0 comments on commit 95f0fb5

Please sign in to comment.