]> Pileus Git - ~andy/linux/blobdiff - drivers/net/7990.c
USB: fix LANGID=0 regression
[~andy/linux] / drivers / net / 7990.c
index ad6b8a5b6574b4865b327bff0bb719878316ce27..69f5b7d298a60b722dfe0b773713aca508d110d4 100644 (file)
@@ -336,7 +336,6 @@ static int lance_rx (struct net_device *dev)
                                          len);
                         skb->protocol = eth_type_trans (skb, dev);
                        netif_rx (skb);
-                       dev->last_rx = jiffies;
                        dev->stats.rx_packets++;
                        dev->stats.rx_bytes += len;
                 }
@@ -542,7 +541,7 @@ int lance_start_xmit (struct sk_buff *skb, struct net_device *dev)
        unsigned long flags;
 
         if (!TX_BUFFS_AVAIL)
-                return -1;
+                return NETDEV_TX_LOCKED;
 
        netif_stop_queue (dev);