Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 224267
b: refs/heads/master
c: ccc83b0
h: refs/heads/master
i:
  224265: 99b14c7
  224263: 5983ddf
v: v3
  • Loading branch information
Eliad Peller authored and John W. Linville committed Nov 15, 2010
1 parent 2283b72 commit 989c749
Show file tree
Hide file tree
Showing 3 changed files with 12 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: 03107a4b5923aa7767329e857caf227749087e47
refs/heads/master: ccc83b046c03378bbaf7cf095d8d7e9b9abb24c5
3 changes: 2 additions & 1 deletion trunk/drivers/net/wireless/wl12xx/wl1271_acx.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@
WL1271_ACX_INTR_HW_AVAILABLE | \
WL1271_ACX_INTR_DATA)

#define WL1271_INTR_MASK (WL1271_ACX_INTR_EVENT_A | \
#define WL1271_INTR_MASK (WL1271_ACX_INTR_WATCHDOG | \
WL1271_ACX_INTR_EVENT_A | \
WL1271_ACX_INTR_EVENT_B | \
WL1271_ACX_INTR_HW_AVAILABLE | \
WL1271_ACX_INTR_DATA)
Expand Down
9 changes: 9 additions & 0 deletions trunk/drivers/net/wireless/wl12xx/wl1271_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,15 @@ static void wl1271_irq_work(struct work_struct *work)

intr &= WL1271_INTR_MASK;

if (unlikely(intr & WL1271_ACX_INTR_WATCHDOG)) {
wl1271_error("watchdog interrupt received! "
"starting recovery.");
ieee80211_queue_work(wl->hw, &wl->recovery_work);

/* restarting the chip. ignore any other interrupt. */
goto out;
}

if (intr & WL1271_ACX_INTR_DATA) {
wl1271_debug(DEBUG_IRQ, "WL1271_ACX_INTR_DATA");

Expand Down

0 comments on commit 989c749

Please sign in to comment.