r156 - unstable/rt2400/debian/patches

Ben Hutchings benh at alioth.debian.org
Wed Apr 8 01:20:16 UTC 2009


Author: benh
Date: 2009-04-08 01:20:15 +0000 (Wed, 08 Apr 2009)
New Revision: 156

Added:
   unstable/rt2400/debian/patches/003_use_netdev_functions.diff
Log:
Use proper function to free the net_device


Added: unstable/rt2400/debian/patches/003_use_netdev_functions.diff
===================================================================
--- unstable/rt2400/debian/patches/003_use_netdev_functions.diff	                        (rev 0)
+++ unstable/rt2400/debian/patches/003_use_netdev_functions.diff	2009-04-08 01:20:15 UTC (rev 156)
@@ -0,0 +1,11 @@
+--- rt2400-1.2.2+cvs20080623.orig/Module/rtmp_main.c
++++ rt2400-1.2.2+cvs20080623/Module/rtmp_main.c
+@@ -879,7 +879,7 @@
+         pci_disable_device(pPci_Dev);
+ 
+ 	// Free pre-allocated net_device memory
+-	kfree(net_dev);
++	free_netdev(net_dev);
+ }
+ 
+ //




More information about the Pkg-ralink-commits mailing list