diff options
Diffstat (limited to 'drivers/net/hamradio/baycom_epp.c')
-rw-r--r-- | drivers/net/hamradio/baycom_epp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/hamradio/baycom_epp.c b/drivers/net/hamradio/baycom_epp.c index 5e4b7afd0683..e229edf3261a 100644 --- a/drivers/net/hamradio/baycom_epp.c +++ b/drivers/net/hamradio/baycom_epp.c | |||
@@ -774,18 +774,18 @@ static int baycom_send_packet(struct sk_buff *skb, struct net_device *dev) | |||
774 | if (skb->data[0] != 0) { | 774 | if (skb->data[0] != 0) { |
775 | do_kiss_params(bc, skb->data, skb->len); | 775 | do_kiss_params(bc, skb->data, skb->len); |
776 | dev_kfree_skb(skb); | 776 | dev_kfree_skb(skb); |
777 | return 0; | 777 | return NETDEV_TX_OK; |
778 | } | 778 | } |
779 | if (bc->skb) | 779 | if (bc->skb) |
780 | return NETDEV_TX_LOCKED; | 780 | return NETDEV_TX_LOCKED; |
781 | /* strip KISS byte */ | 781 | /* strip KISS byte */ |
782 | if (skb->len >= HDLCDRV_MAXFLEN+1 || skb->len < 3) { | 782 | if (skb->len >= HDLCDRV_MAXFLEN+1 || skb->len < 3) { |
783 | dev_kfree_skb(skb); | 783 | dev_kfree_skb(skb); |
784 | return 0; | 784 | return NETDEV_TX_OK; |
785 | } | 785 | } |
786 | netif_stop_queue(dev); | 786 | netif_stop_queue(dev); |
787 | bc->skb = skb; | 787 | bc->skb = skb; |
788 | return 0; | 788 | return NETDEV_TX_OK; |
789 | } | 789 | } |
790 | 790 | ||
791 | /* --------------------------------------------------------------------- */ | 791 | /* --------------------------------------------------------------------- */ |