aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/usb/pegasus.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/usb/pegasus.c')
-rw-r--r--drivers/net/usb/pegasus.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/usb/pegasus.c b/drivers/net/usb/pegasus.c
index 69d2df95ac86..7b935b846424 100644
--- a/drivers/net/usb/pegasus.c
+++ b/drivers/net/usb/pegasus.c
@@ -876,7 +876,8 @@ static void pegasus_tx_timeout(struct net_device *net)
876 pegasus->stats.tx_errors++; 876 pegasus->stats.tx_errors++;
877} 877}
878 878
879static int pegasus_start_xmit(struct sk_buff *skb, struct net_device *net) 879static netdev_tx_t pegasus_start_xmit(struct sk_buff *skb,
880 struct net_device *net)
880{ 881{
881 pegasus_t *pegasus = netdev_priv(net); 882 pegasus_t *pegasus = netdev_priv(net);
882 int count = ((skb->len + 2) & 0x3f) ? skb->len + 2 : skb->len + 3; 883 int count = ((skb->len + 2) & 0x3f) ? skb->len + 2 : skb->len + 3;