aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/cw1200
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2013-08-27 20:17:13 -0400
committerJohn W. Linville <linville@tuxdriver.com>2013-08-28 13:58:29 -0400
commit076f0d20b636ef0e701e21e701c0631b5757b732 (patch)
tree3951a1bed9a8f2dcd0c6674b8a34d4337e424c9e /drivers/net/wireless/cw1200
parent7f190230baac602f3f2be8e143c1c7c5aad15b1e (diff)
cw1200: When debug is enabled, display all wakeup conditions for the wait_event_interruptible_timeout() call.
When trying to debug an interrupt delivery problem I noticed that not all of the wakeup conditions on the worker thread were included in the debug message. This patch rectifies that. Signed-off-by: Solomon Peachy <pizza@shaftnet.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/cw1200')
-rw-r--r--drivers/net/wireless/cw1200/bh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/cw1200/bh.c b/drivers/net/wireless/cw1200/bh.c
index c1ec2a4dd8c0..92d299aa257c 100644
--- a/drivers/net/wireless/cw1200/bh.c
+++ b/drivers/net/wireless/cw1200/bh.c
@@ -465,8 +465,8 @@ static int cw1200_bh(void *arg)
465 (rx || tx || term || suspend || priv->bh_error); 465 (rx || tx || term || suspend || priv->bh_error);
466 }), status); 466 }), status);
467 467
468 pr_debug("[BH] - rx: %d, tx: %d, term: %d, suspend: %d, status: %ld\n", 468 pr_debug("[BH] - rx: %d, tx: %d, term: %d, bh_err: %d, suspend: %d, status: %ld\n",
469 rx, tx, term, suspend, status); 469 rx, tx, term, suspend, priv->bh_error, status);
470 470
471 /* Did an error occur? */ 471 /* Did an error occur? */
472 if ((status < 0 && status != -ERESTARTSYS) || 472 if ((status < 0 && status != -ERESTARTSYS) ||