> Trying to compile R80
>
> src/zd1205.c: In function `zd1205wext_iw_get_stats':
> src/zd1205.c:4776: error: structure has no member named `iw_stats'

I think the problem is with the conditions used to compile in iw_stats 
support.

In zd1205.h the condition is:
#ifdef CONFIG_NET_WIRELESS
while in zd1205.c it is:
#if WIRELESS_EXT > 12

I'm not totally sure which condition applies but '#if WIRELESS_EXT > 12' seems 
most appropriate to me. In that case, the following patch should fix it:
(I think it'd be nice if the person who added iw_stats could shine a light on 
it as well, to make sure the right condition is picked)

diff -ur zd1211-driver-r80/src/zd1205.h zd1211-driver-r80.new/src/zd1205.h
--- zd1211-driver-r80/src/zd1205.h      2006-02-16 22:33:51.000000000 +0100
+++ zd1211-driver-r80.new/src/zd1205.h  2006-07-03 09:57:12.000000000 +0200
@@ -613,7 +613,7 @@
 {
         struct net_device_stats net_stats;
 /* ath_desc: added iw_get_stats */
-#ifdef CONFIG_NET_WIRELESS
+#if WIRELESS_EXT > 12
         struct iw_statistics iw_stats;
 #endif
         unsigned long tx_late_col;


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

Reply via email to