summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2020-11-13 22:22:45 +0100
committerKalle Valo <kvalo@codeaurora.org>2020-11-24 17:01:09 +0200
commit29b2fe3f6f2071ba5b0dab709e3ffbf0eaa2a1e4 (patch)
treec825efeebc69597296c0567dcb424447cf0b5fec
parent915fd9db418f3f99c002dcca8a089923c96ec80a (diff)
downloadlinux-29b2fe3f6f2071ba5b0dab709e3ffbf0eaa2a1e4.tar.gz
linux-29b2fe3f6f2071ba5b0dab709e3ffbf0eaa2a1e4.tar.bz2
linux-29b2fe3f6f2071ba5b0dab709e3ffbf0eaa2a1e4.zip
orinoco: Annotate ezusb_xmit()
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> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20201113212252.2243570-4-bigeasy@linutronix.de
-rw-r--r--drivers/net/wireless/intersil/orinoco/orinoco_usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/intersil/orinoco/orinoco_usb.c b/drivers/net/wireless/intersil/orinoco/orinoco_usb.c
index 6642948809e1..66d77af91d22 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);