[arch-commits] CVS update of core/support/wlan-ng26 (kernel-2.6.24.patch)

Tobias Powalowski tpowa at archlinux.org
Fri Jan 25 17:21:34 UTC 2008


    Date: Friday, January 25, 2008 @ 12:21:34
  Author: tpowa
    Path: /home/cvs-core/core/support/wlan-ng26

   Added: kernel-2.6.24.patch (1.1)

upgpkg: update to new .24 series


---------------------+
 kernel-2.6.24.patch |   43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)


Index: core/support/wlan-ng26/kernel-2.6.24.patch
diff -u /dev/null core/support/wlan-ng26/kernel-2.6.24.patch:1.1
--- /dev/null	Fri Jan 25 12:21:34 2008
+++ core/support/wlan-ng26/kernel-2.6.24.patch	Fri Jan 25 12:21:33 2008
@@ -0,0 +1,43 @@
+--- src/p80211/p80211netdev.c~	2007-10-30 14:25:13.000000000 +0100
++++ src/p80211/p80211netdev.c	2007-10-30 14:31:24.000000000 +0100
+@@ -82,6 +82,7 @@
+ #if WIRELESS_EXT > 12
+ #include <net/iw_handler.h>
+ #endif
++#include <net/net_namespace.h>
+ 
+ /*================================================================*/
+ /* Project Includes */
+@@ -167,11 +168,11 @@
+ 	DBFENTER;
+ 
+ #ifdef CONFIG_PROC_FS
+-	if (proc_net != NULL) {
++	if (init_net.proc_net != NULL) {
+ 		proc_p80211 = create_proc_entry(
+ 				"p80211", 
+ 				(S_IFDIR|S_IRUGO|S_IXUGO),
+-				proc_net);
++				init_net.proc_net);
+ 	}
+ #endif
+ 	DBFEXIT;
+@@ -196,7 +197,7 @@
+ 	DBFENTER;
+ #ifdef CONFIG_PROC_FS
+ 	if (proc_p80211 != NULL) {
+-		remove_proc_entry("p80211", proc_net);
++		remove_proc_entry("p80211", init_net.proc_net);
+ 	}
+ #endif
+ 	DBFEXIT;
+--- src/prism2/driver/prism2_usb.c~	2007-03-19 16:37:00.000000000 +0100
++++ src/prism2/driver/prism2_usb.c	2007-10-30 14:36:48.000000000 +0100
+@@ -131,7 +131,6 @@
+ 	/* Register the wlandev, this gets us a name and registers the
+ 	 * linux netdevice.
+ 	 */
+-	SET_MODULE_OWNER(wlandev->netdev);
+ #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0))
+ 	SET_NETDEV_DEV(wlandev->netdev, &(interface->dev));
+ #endif




More information about the arch-commits mailing list