mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-13 14:14:37 +00:00
staging: vt6656: nsDMA_tx_packet: free tx context bBoolInUse
This reduces the number of free TX urbs when key is not found. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
bebbb29c96
commit
d77fb7f756
1 changed files with 1 additions and 0 deletions
|
@ -3045,6 +3045,7 @@ int nsDMA_tx_packet(PSDevice pDevice, unsigned int uDMAIdx, struct sk_buff *skb)
|
|||
|
||||
if (pTransmitKey == NULL) {
|
||||
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"return no tx key\n");
|
||||
pContext->bBoolInUse = FALSE;
|
||||
dev_kfree_skb_irq(skb);
|
||||
pStats->tx_dropped++;
|
||||
return STATUS_FAILURE;
|
||||
|
|
Loading…
Reference in a new issue