1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-03-08 13:39:12 +02:00

Fix rt61 compilation with 2.6.19 kernels

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5827 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2006-12-17 19:12:12 +00:00
parent 960737e0b4
commit 1c601cfebb

View File

@ -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