Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 328351
b: refs/heads/master
c: a8311c8
h: refs/heads/master
i:
  328349: aef1780
  328347: dad8749
  328343: d588ecd
  328335: 05c09de
  328319: 5b6bc56
v: v3
  • Loading branch information
Ido Yariv authored and Luciano Coelho committed Sep 27, 2012
1 parent 54bcfc2 commit 0ac31e0
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 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: 792a58a8720f02c8f340583f6ee54c9eb46adf0b
refs/heads/master: a8311c8a9a7c41de9cc2d5e1573ff7005b4959ab
9 changes: 8 additions & 1 deletion trunk/drivers/net/wireless/ti/wl12xx/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1184,9 +1184,16 @@ static int wl12xx_enable_interrupts(struct wl1271 *wl)
ret = wlcore_write_reg(wl, REG_INTERRUPT_MASK,
WL1271_ACX_INTR_ALL & ~(WL12XX_INTR_MASK));
if (ret < 0)
goto out;
goto disable_interrupts;

ret = wlcore_write32(wl, WL12XX_HI_CFG, HI_CFG_DEF_VAL);
if (ret < 0)
goto disable_interrupts;

return ret;

disable_interrupts:
wlcore_disable_interrupts(wl);

out:
return ret;
Expand Down
7 changes: 7 additions & 0 deletions trunk/drivers/net/wireless/ti/wl18xx/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -811,6 +811,13 @@ static int wl18xx_enable_interrupts(struct wl1271 *wl)

ret = wlcore_write_reg(wl, REG_INTERRUPT_MASK,
WL1271_ACX_INTR_ALL & ~intr_mask);
if (ret < 0)
goto disable_interrupts;

return ret;

disable_interrupts:
wlcore_disable_interrupts(wl);

out:
return ret;
Expand Down

0 comments on commit 0ac31e0

Please sign in to comment.