diff mbox series

[03/10] orinoco: Annotate ezusb_xmit()

Message ID 20201113212252.2243570-4-bigeasy@linutronix.de (mailing list archive)
State Accepted
Commit 29b2fe3f6f2071ba5b0dab709e3ffbf0eaa2a1e4
Delegated to: Kalle Valo
Headers show
Series orinoco: Remove in_interrupt() usage. | expand

Commit Message

Sebastian Andrzej Siewior Nov. 13, 2020, 9:22 p.m. UTC
ezusb_xmit() sets ->in_rid in its request which means it does not wait
for an answer.

Use the ezusb_req_ctx_wait_skip() to denote that an answer is not
expected.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
---
 drivers/net/wireless/intersil/orinoco/orinoco_usb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/net/wireless/intersil/orinoco/orinoco_usb.c b/drivers/net/wireless/intersil/orinoco/orinoco_usb.c
index 6642948809e1c..66d77af91d22c 100644
--- a/drivers/net/wireless/intersil/orinoco/orinoco_usb.c
+++ b/drivers/net/wireless/intersil/orinoco/orinoco_usb.c
@@ -1319,7 +1319,7 @@  static netdev_tx_t ezusb_xmit(struct sk_buff *skb, struct net_device *dev)
 
 	err = ezusb_access_ltv(upriv, ctx, tx_size, NULL,
 			       EZUSB_FRAME_DATA, NULL, 0, NULL,
-			       ezusb_req_ctx_wait);
+			       ezusb_req_ctx_wait_skip);
 
 	if (err) {
 		netif_start_queue(dev);