diff options
author | Alan Ott <alan@signal11.us> | 2013-03-18 12:06:41 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-03-19 14:07:49 (GMT) |
commit | 7a1c2318868615a522610c05192dbc9dd423647d (patch) | |
tree | ad419ef4e17782974ce363f93d7e35eca4b9f655 /drivers | |
parent | 50861c7effcad107826e49e6077e64b666c2dc3f (diff) | |
download | linux-7a1c2318868615a522610c05192dbc9dd423647d.tar.xz |
mrf24j40: Warn if transmit interrupts timeout
Issue a warning if a transmit complete interrupt doesn't happen in time.
Signed-off-by: Alan Ott <alan@signal11.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ieee802154/mrf24j40.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |