1 diff -uNr madwifi-0.9.3-orig/ath/if_ath.c madwifi-0.9.3/ath/if_ath.c
2 --- madwifi-0.9.3-orig/ath/if_ath.c 2007-03-03 07:20:46.000000000 +0100
3 +++ madwifi-0.9.3/ath/if_ath.c 2007-03-27 20:02:15.004192220 +0200
6 if (autocreatemode != -1) {
8 - error = ieee80211_create_vap(ic, "ath%d", dev,
9 + /*error = ieee80211_create_vap(ic, "ath%d", dev,*/
10 + error = ieee80211_create_vap(ic, "wlan%d", dev,
11 autocreatemode, IEEE80211_CLONE_BSSID);
16 static ctl_table ath_ath_table[] = {
17 { .ctl_name = DEV_ATH,
21 .child = ath_static_sysctls
23 diff -uNr madwifi-0.9.3-orig/ath_hal/ah_os.c madwifi-0.9.3/ath_hal/ah_os.c
24 --- madwifi-0.9.3-orig/ath_hal/ah_os.c 2007-02-21 07:46:24.000000000 +0100
25 +++ madwifi-0.9.3/ath_hal/ah_os.c 2007-03-27 20:02:05.571774828 +0200
28 static ctl_table ath_ath_table[] = {
29 { .ctl_name = DEV_ATH,
33 .child = ath_hal_table
35 diff -uNr madwifi-0.9.3-orig/ath_rate/amrr/amrr.c madwifi-0.9.3/ath_rate/amrr/amrr.c
36 --- madwifi-0.9.3-orig/ath_rate/amrr/amrr.c 2007-02-21 07:46:24.000000000 +0100
37 +++ madwifi-0.9.3/ath_rate/amrr/amrr.c 2007-03-27 20:01:47.450972963 +0200
40 static ctl_table ath_ath_table[] = {
41 { .ctl_name = DEV_ATH,
45 .child = ath_rate_table
47 diff -uNr madwifi-0.9.3-orig/ath_rate/onoe/onoe.c madwifi-0.9.3/ath_rate/onoe/onoe.c
48 --- madwifi-0.9.3-orig/ath_rate/onoe/onoe.c 2007-02-21 07:46:24.000000000 +0100
49 +++ madwifi-0.9.3/ath_rate/onoe/onoe.c 2007-03-27 20:01:35.362438027 +0200
52 static ctl_table ath_ath_table[] = {
53 { .ctl_name = DEV_ATH,
57 .child = ath_rate_table
59 diff -uNr madwifi-0.9.3-orig/tools/80211debug.c madwifi-0.9.3/tools/80211debug.c
60 --- madwifi-0.9.3-orig/tools/80211debug.c 2006-12-08 18:20:08.000000000 +0100
61 +++ madwifi-0.9.3/tools/80211debug.c 2007-03-27 20:07:02.808926708 +0200
64 main(int argc, char *argv[])
66 - const char *ifname = "ath0";
67 + const char *ifname = "wlan0";
71 diff -uNr madwifi-0.9.3-orig/tools/80211stats.c madwifi-0.9.3/tools/80211stats.c
72 --- madwifi-0.9.3-orig/tools/80211stats.c 2007-02-07 04:18:49.000000000 +0100
73 +++ madwifi-0.9.3/tools/80211stats.c 2007-03-27 20:04:16.297559340 +0200
78 - const char *ifname = "ath0";
79 + const char *ifname = "wlan0";
81 s = socket(AF_INET, SOCK_DGRAM, 0);
83 diff -uNr madwifi-0.9.3-orig/tools/athdebug.c madwifi-0.9.3/tools/athdebug.c
84 --- madwifi-0.9.3-orig/tools/athdebug.c 2006-12-08 18:20:08.000000000 +0100
85 +++ madwifi-0.9.3/tools/athdebug.c 2007-03-27 20:03:32.583625082 +0200
88 const char *ifname = "wifi0";
90 - const char *ifname = "ath0";
91 + const char *ifname = "wlan0";
97 snprintf(oid, sizeof(oid), "dev.%s.debug", ifname);
99 - snprintf(oid, sizeof(oid), "dev.ath.%s.debug", ifname+3);
100 + snprintf(oid, sizeof(oid), "dev.wlan.%s.debug", ifname+3);
102 debuglen = sizeof(debug);
103 if (sysctlbyname(oid, &debug, &debuglen, NULL, 0) < 0)
104 diff -uNr madwifi-0.9.3-orig/tools/athstats.c madwifi-0.9.3/tools/athstats.c
105 --- madwifi-0.9.3-orig/tools/athstats.c 2007-01-12 03:45:36.000000000 +0100
106 +++ madwifi-0.9.3/tools/athstats.c 2007-03-27 20:03:54.176580535 +0200
109 const char *ifname = "wifi0";
111 - const char *ifname = "ath0";
112 + const char *ifname = "wlan0";