Fix rt61 compilation with 2.6.19 kernels
[openwrt.git] / package / rt61 / patches / 01-wireless_extensions_version.patch
1 diff -urN rt61-1.1.0-b1/Module/rtmp_main.c rt61-1.1.0-b1.new/Module/rtmp_main.c
2 --- rt61-1.1.0-b1/Module/rtmp_main.c 2006-06-18 10:58:40.000000000 +0200
3 +++ rt61-1.1.0-b1.new/Module/rtmp_main.c 2006-12-17 19:59:10.000000000 +0100
4 @@ -252,7 +252,7 @@
5 net_dev->stop = RT61_close;
6 net_dev->get_stats = RT61_get_ether_stats;
7
8 -#if WIRELESS_EXT >= 12
9 +#if WIRELESS_EXT >= 12 && WIRELESS_EXT < 21
10 net_dev->get_wireless_stats = RT61_get_wireless_stats;
11 net_dev->wireless_handlers = (struct iw_handler_def *) &rt61_iw_handler_def;
12 #endif
This page took 0.052468 seconds and 5 git commands to generate.