projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50861c7
)
mrf24j40: Warn if transmit interrupts timeout
author
Alan Ott
<alan@signal11.us>
Mon, 18 Mar 2013 12:06:41 +0000
(12:06 +0000)
committer
David S. Miller
<davem@davemloft.net>
Tue, 19 Mar 2013 14:07:49 +0000
(10:07 -0400)
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>
drivers/net/ieee802154/mrf24j40.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/ieee802154/mrf24j40.c
b/drivers/net/ieee802154/mrf24j40.c
index 3106895e8b91a4f25d19f802497d154108bc55b5..582c0a3d5773d86bbb776146d65eb866d1015392 100644
(file)
--- 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;
}