mirror of
https://github.com/torvalds/linux.git
synced 2026-06-03 12:03:54 +02:00
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>
This commit is contained in:
parent
50861c7eff
commit
7a1c231886
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user