summaryrefslogtreecommitdiffstats
path: root/package/rt61/patches/001-wireless_extensions_version.patch
diff options
context:
space:
mode:
authorpavlov <pavlov@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-03-05 01:38:44 +0000
committerpavlov <pavlov@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-03-05 01:38:44 +0000
commit151238116d88b6bcb983175367754c905a4953f6 (patch)
treec4ccc8a7f94e359e9bc13cc9908e6a8df9d59041 /package/rt61/patches/001-wireless_extensions_version.patch
parent40ce417a28ded37094c173f45b27b4f7c3f5c22f (diff)
trunk.. same deal as changeset:6526
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6527 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/rt61/patches/001-wireless_extensions_version.patch')
-rw-r--r--package/rt61/patches/001-wireless_extensions_version.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/rt61/patches/001-wireless_extensions_version.patch b/package/rt61/patches/001-wireless_extensions_version.patch
new file mode 100644
index 000000000..b0e254a90
--- /dev/null
+++ b/package/rt61/patches/001-wireless_extensions_version.patch
@@ -0,0 +1,12 @@
+diff -urN rt61-1.1.0-b1/Module/rtmp_main.c rt61-1.1.0-b1.new/Module/rtmp_main.c
+--- rt61-1.1.0-b1/Module/rtmp_main.c 2006-06-18 10:58:40.000000000 +0200
++++ rt61-1.1.0-b1.new/Module/rtmp_main.c 2006-12-17 19:59:10.000000000 +0100
+@@ -252,7 +252,7 @@
+ net_dev->stop = RT61_close;
+ net_dev->get_stats = RT61_get_ether_stats;
+
+-#if WIRELESS_EXT >= 12
++#if WIRELESS_EXT >= 12 && WIRELESS_EXT < 21
+ net_dev->get_wireless_stats = RT61_get_wireless_stats;
+ net_dev->wireless_handlers = (struct iw_handler_def *) &rt61_iw_handler_def;
+ #endif