Contents of /trunk/zydas/patches/zd1211-driver-r32-wext-stats.patch
Parent Directory | Revision Log
Revision 153 -
(show annotations)
(download)
Tue May 8 20:52:56 2007 UTC (17 years, 4 months ago) by niro
File size: 1315 byte(s)
Tue May 8 20:52:56 2007 UTC (17 years, 4 months ago) by niro
File size: 1315 byte(s)
-import
1 | * finding or making jordens@debian.org--zd1211/zd1211--integration--0--patch-16 |
2 | * finding or making jordens@debian.org--zd1211/zd1211--integration--0--patch-17 |
3 | * computing changeset |
4 | A {arch}/zd1211/zd1211--integration/zd1211--integration--0/jordens@debian.org--zd1211/patch-log/patch-17 |
5 | M src/zd1205.c |
6 | M src/zd1211.c |
7 | M src/zd1211.h |
8 | * changeset report |
9 | * modified files |
10 | |
11 | --- orig/src/zd1205.c |
12 | +++ mod/src/zd1205.c |
13 | @@ -404,6 +404,9 @@ |
14 | |
15 | struct iw_handler_def p80211wext_handler_def = |
16 | { |
17 | +# if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,10) |
18 | + .get_wireless_stats = &zd1205wext_iw_get_stats, |
19 | +# endif |
20 | num_standard: |
21 | sizeof(zd1205wext_handler) / sizeof(iw_handler), |
22 | num_private: |
23 | |
24 | |
25 | --- orig/src/zd1211.c |
26 | +++ mod/src/zd1211.c |
27 | @@ -1870,8 +1870,10 @@ |
28 | |
29 | dev->wireless_handlers = (struct iw_handler_def *)&p80211wext_handler_def; |
30 | |
31 | +# if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,10) |
32 | /* ath_desc: added iw_get_stats */ |
33 | dev->get_wireless_stats = &zd1205wext_iw_get_stats; |
34 | +# endif |
35 | #endif |
36 | |
37 | dev->hard_start_xmit = zd1205_xmit_frame; |
38 | |
39 | |
40 | --- orig/src/zd1211.h |
41 | +++ mod/src/zd1211.h |
42 | @@ -224,3 +224,4 @@ |
43 | void zd1211_alloc_rx(unsigned long parm); |
44 | #endif |
45 | |
46 | +struct iw_statistics *zd1205wext_iw_get_stats(struct net_device *dev); |
47 | |
48 | |
49 | |
50 | * added files |
51 | |
52 |
Properties
Name | Value |
---|---|
svn:executable | * |