mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
net: caif: convert to using IFF_NO_QUEUE
Signed-off-by: Phil Sutter <[email protected]> Cc: Dmitry Tarnyagin <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
9ad09c5c05
commit
4676a15207
5 changed files with 5 additions and 5 deletions
|
|
@ -177,7 +177,7 @@ static int transmit(struct cflayer *layer, struct cfpkt *pkt)
|
|||
skb->protocol = htons(ETH_P_CAIF);
|
||||
|
||||
/* Check if we need to handle xoff */
|
||||
if (likely(caifd->netdev->tx_queue_len == 0))
|
||||
if (likely(caifd->netdev->priv_flags & IFF_NO_QUEUE))
|
||||
goto noxoff;
|
||||
|
||||
if (unlikely(caifd->xoff))
|
||||
|
|
|
|||
Loading…
Reference in a new issue