From: Alan Ott Date: Mon, 18 Mar 2013 12:06:41 +0000 (+0000) Subject: mrf24j40: Warn if transmit interrupts timeout X-Git-Tag: v3.12-rc1~874^2~429 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7a1c2318868615a522610c05192dbc9dd423647d;p=kernel%2Fkernel-generic.git mrf24j40: Warn if transmit interrupts timeout Issue a warning if a transmit complete interrupt doesn't happen in time. Signed-off-by: Alan Ott Signed-off-by: David S. Miller --- diff --git a/drivers/net/ieee802154/mrf24j40.c b/drivers/net/ieee802154/mrf24j40.c index 3106895..582c0a3 100644 --- a/drivers/net/ieee802154/mrf24j40.c +++ b/drivers/net/ieee802154/mrf24j40.c @@ -362,6 +362,7 @@ static int mrf24j40_tx(struct ieee802154_dev *dev, struct sk_buff *skb) if (ret == -ERESTARTSYS) goto err; if (ret == 0) { + dev_warn(printdev(devrec), "Timeout waiting for TX interrupt\n"); ret = -ETIMEDOUT; goto err; }