Commit eb748f78 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] fix error in cops port to 2.5

parent 24824a0e
...@@ -801,7 +801,7 @@ static void cops_rx(struct net_device *dev) ...@@ -801,7 +801,7 @@ static void cops_rx(struct net_device *dev)
lp->stats.rx_dropped++; lp->stats.rx_dropped++;
while(pkt_len--) /* Discard packet */ while(pkt_len--) /* Discard packet */
inb(ioaddr); inb(ioaddr);
restore_flags(flags); spin_unlock_irqrestore(&lp->lock, flags);
return; return;
} }
skb->dev = dev; skb->dev = dev;
......
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