Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 150931
b: refs/heads/master
c: 47f88c9
h: refs/heads/master
i:
  150929: 2a97fe7
  150927: 890c534
v: v3
  • Loading branch information
Patrick McHardy authored and David S. Miller committed Jun 13, 2009
1 parent 719107e commit 5e74e39
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4153e77596c4caaf52293b0c6b2207d73ed8f1eb
refs/heads/master: 47f88c99c2ad0c05dd415e1c2a6d59426eb305ed
6 changes: 3 additions & 3 deletions trunk/drivers/net/wan/cycx_x25.c
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ static int cycx_netdevice_hard_start_xmit(struct sk_buff *skb,
case WAN_DISCONNECTED:
if (cycx_x25_chan_connect(dev)) {
netif_stop_queue(dev);
return -EBUSY;
return NETDEV_TX_BUSY;
}
/* fall thru */
case WAN_CONNECTED:
Expand All @@ -624,7 +624,7 @@ static int cycx_netdevice_hard_start_xmit(struct sk_buff *skb,
netif_stop_queue(dev);

if (cycx_x25_chan_send(dev, skb))
return -EBUSY;
return NETDEV_TX_BUSY;

break;
default:
Expand Down Expand Up @@ -656,7 +656,7 @@ static int cycx_netdevice_hard_start_xmit(struct sk_buff *skb,
if (cycx_x25_chan_send(dev, skb)) {
/* prepare for future retransmissions */
skb_push(skb, 1);
return -EBUSY;
return NETDEV_TX_BUSY;
}
}

Expand Down

0 comments on commit 5e74e39

Please sign in to comment.