[kernel] refresh generic 2.6.21 patches
[openwrt/svn-archive/archive.git] / target / linux / generic-2.6 / patches / 210-d80211_compat.patch
index 555151ba7fafafdb9c51d9a8f364ca88165d5b5d..9d57f1fa7a90ac344620b340e3314474d57dc0d0 100644 (file)
@@ -1,11 +1,13 @@
---- linux.old/include/linux/netdevice.h        2006-12-30 18:49:37.916951328 +0100
-+++ linux.dev/include/linux/netdevice.h        2006-12-30 18:49:49.573179312 +0100
-@@ -526,6 +526,8 @@
-       struct class_device     class_dev;
+Index: linux-2.6.21.7/include/linux/netdevice.h
+===================================================================
+--- linux-2.6.21.7.orig/include/linux/netdevice.h
++++ linux-2.6.21.7/include/linux/netdevice.h
+@@ -532,6 +532,8 @@ struct net_device
+       struct device           dev;
        /* space for optional statistics and wireless sysfs groups */
        struct attribute_group  *sysfs_groups[3];
 +      
 +      void *ieee80211_ptr;
  };
+ #define to_net_dev(d) container_of(d, struct net_device, dev)
  
- #define       NETDEV_ALIGN            32