diff options
author | Alan Ott <alan@signal11.us> | 2013-03-18 12:06:41 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-03-19 10:07:49 -0400 |
commit | 7a1c2318868615a522610c05192dbc9dd423647d (patch) | |
tree | ad419ef4e17782974ce363f93d7e35eca4b9f655 /drivers/net/ieee802154 | |
parent | 50861c7effcad107826e49e6077e64b666c2dc3f (diff) | |
download | blackbird-op-linux-7a1c2318868615a522610c05192dbc9dd423647d.tar.gz blackbird-op-linux-7a1c2318868615a522610c05192dbc9dd423647d.zip |
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/net/ieee802154')
-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 3106895e8b91..582c0a3d5773 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; } |