Skip to content

Commit dabb311

Browse files
committed
Review-me: in x8h7_can module, don't consider priv->tx_len > 0 as busy state
1 parent 3eb4193 commit dabb311

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

recipes-kernel/kernel-modules/x8h7/x8h7_can.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,8 @@ static netdev_tx_t x8h7_can_start_xmit(struct sk_buff *skb,
685685

686686
DBG_PRINT("\n");
687687

688-
if (priv->tx_skb || priv->tx_len) {
688+
//if (priv->tx_skb || priv->tx_len) { // @TODO: original impl.
689+
if (priv->tx_skb) {
689690
DBG_ERROR("hard_xmit called while tx busy\n");
690691
return NETDEV_TX_BUSY;
691692
}

0 commit comments

Comments
 (0)