mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-15 15:15:47 +00:00
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
This commit is contained in:
parent
915fd9db41
commit
29b2fe3f6f
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
err = ezusb_access_ltv(upriv, ctx, tx_size, NULL,
|
||||||
EZUSB_FRAME_DATA, NULL, 0, NULL,
|
EZUSB_FRAME_DATA, NULL, 0, NULL,
|
||||||
ezusb_req_ctx_wait);
|
ezusb_req_ctx_wait_skip);
|
||||||
|
|
||||||
if (err) {
|
if (err) {
|
||||||
netif_start_queue(dev);
|
netif_start_queue(dev);
|
||||||
|
|
Loading…
Reference in a new issue