[COSA] free_netdev typo
From: Herbert Xu
Date: Sat Aug 30 2003 - 00:39:28 EST
Hi:
The free_netdev fixes in 2.6.0-test4 broke drivers/net/wan/cosa.c.
This patch fixes it.
Cheers,
--
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Index: kernel-source-2.5/drivers/net/wan/cosa.c
===================================================================
RCS file: /home/gondolin/herbert/src/CVS/debian/kernel-source-2.5/drivers/net/wan/cosa.c,v
retrieving revision 1.1.1.8
diff -u -r1.1.1.8 cosa.c
--- kernel-source-2.5/drivers/net/wan/cosa.c 22 Aug 2003 23:51:01 -0000 1.1.1.8
+++ kernel-source-2.5/drivers/net/wan/cosa.c 30 Aug 2003 05:32:28 -0000
@@ -632,7 +632,7 @@
{
sppp_detach(chan->pppdev.dev);
unregister_netdev(chan->pppdev.dev);
- free_netdev(chan->ppp.dev);
+ free_netdev(chan->pppdev.dev);
}
static int cosa_sppp_open(struct net_device *d)