staging: rtl8188eu: fix rtw_xmit_entry's return value
A netdev xmit function should return NETDEV_TX_OK or NETDEV_TX_BUSY. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Link: https://lore.kernel.org/r/20210122165749.29467-1-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ec52736c35
commit
89be5992e1
@ -205,5 +205,5 @@ drop_packet:
|
||||
("%s: drop, tx_drop=%d\n", __func__, (u32)pxmitpriv->tx_drop));
|
||||
|
||||
exit:
|
||||
return 0;
|
||||
return NETDEV_TX_OK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user