Commit a200f236 authored by Linus Torvalds's avatar Linus Torvalds

Fix typo in the network driver pad fixes for a2065 driver.

Noted by Maciej Rozycki <macro@ds2.pg.gda.pl>.
parent 775d3a3e
...@@ -573,7 +573,7 @@ static int lance_start_xmit (struct sk_buff *skb, struct net_device *dev) ...@@ -573,7 +573,7 @@ static int lance_start_xmit (struct sk_buff *skb, struct net_device *dev)
len = skblen; len = skblen;
if (len < ETH_ZLEN) { if (len < ETH_ZLEN) {
len = ETH_ZLEN: len = ETH_ZLEN;
skb = skb_padto(skb, ETH_ZLEN); skb = skb_padto(skb, ETH_ZLEN);
if (skb == NULL) if (skb == NULL)
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment