* finding or making jordens@debian.org--zd1211/zd1211--integration--0--patch-16 * finding or making jordens@debian.org--zd1211/zd1211--integration--0--patch-17 * computing changeset A {arch}/zd1211/zd1211--integration/zd1211--integration--0/jordens@debian.org--zd1211/patch-log/patch-17 M src/zd1205.c M src/zd1211.c M src/zd1211.h * changeset report * modified files --- orig/src/zd1205.c +++ mod/src/zd1205.c @@ -404,6 +404,9 @@ struct iw_handler_def p80211wext_handler_def = { +# if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,10) + .get_wireless_stats = &zd1205wext_iw_get_stats, +# endif num_standard: sizeof(zd1205wext_handler) / sizeof(iw_handler), num_private: --- orig/src/zd1211.c +++ mod/src/zd1211.c @@ -1870,8 +1870,10 @@ dev->wireless_handlers = (struct iw_handler_def *)&p80211wext_handler_def; +# if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,10) /* ath_desc: added iw_get_stats */ dev->get_wireless_stats = &zd1205wext_iw_get_stats; +# endif #endif dev->hard_start_xmit = zd1205_xmit_frame; --- orig/src/zd1211.h +++ mod/src/zd1211.h @@ -224,3 +224,4 @@ void zd1211_alloc_rx(unsigned long parm); #endif +struct iw_statistics *zd1205wext_iw_get_stats(struct net_device *dev); * added files