fix an off-by-one error
[openwrt/openwrt.git] / target / linux / generic-2.6 / patches / 210-d80211_compat.patch
1 diff -urN linux-2.6.21.1.old/include/linux/netdevice.h linux-2.6.21.1.dev/include/linux/netdevice.h
2 --- linux-2.6.21.1.old/include/linux/netdevice.h 2007-04-27 23:49:26.000000000 +0200
3 +++ linux-2.6.21.1.dev/include/linux/netdevice.h 2007-05-26 21:04:21.537668920 +0200
4 @@ -532,6 +532,8 @@
5 struct device dev;
6 /* space for optional statistics and wireless sysfs groups */
7 struct attribute_group *sysfs_groups[3];
8 +
9 + void *ieee80211_ptr;
10 };
11 #define to_net_dev(d) container_of(d, struct net_device, dev)
12