[COSA] free_netdev typo
diff mbox series

Message ID 20030830053758.GA24332@gondor.apana.org.au
State New, archived
Headers show
Series
  • [COSA] free_netdev typo
Related show

Commit Message

Herbert Xu Aug. 30, 2003, 5:37 a.m. UTC
Hi:

The free_netdev fixes in 2.6.0-test4 broke drivers/net/wan/cosa.c.
This patch fixes it.

Cheers,

Patch
diff mbox series

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)