freewrt_1_0
freewrt_2_0
| Line | |
|---|
| 1 | $FreeWRT$
|
|---|
| 2 | --- madwifi-0.9.2.orig/tools/athdebug.c Fri May 5 06:17:59 2006
|
|---|
| 3 | +++ madwifi-0.9.2/tools/athdebug.c Thu Sep 21 02:15:31 2006
|
|---|
| 4 | @@ -52,6 +52,10 @@
|
|---|
| 5 | #include <getopt.h>
|
|---|
| 6 | #include <err.h>
|
|---|
| 7 |
|
|---|
| 8 | +#ifdef DOMULTI
|
|---|
| 9 | +#include "do_multi.h"
|
|---|
| 10 | +#endif
|
|---|
| 11 | +
|
|---|
| 12 | #define N(a) (sizeof(a)/sizeof(a[0]))
|
|---|
| 13 |
|
|---|
| 14 | const char *progname;
|
|---|
| 15 | @@ -179,9 +183,20 @@ sysctlbyname(const char *oid0, void *old
|
|---|
| 16 | }
|
|---|
| 17 | #endif /* __linux__ */
|
|---|
| 18 |
|
|---|
| 19 | +#ifdef DOMULTI
|
|---|
| 20 | +
|
|---|
| 21 | int
|
|---|
| 22 | +athdebug_init(int argc, char *argv[])
|
|---|
| 23 | +{
|
|---|
| 24 | +
|
|---|
| 25 | +#else
|
|---|
| 26 | +
|
|---|
| 27 | +int
|
|---|
| 28 | main(int argc, char *argv[])
|
|---|
| 29 | {
|
|---|
| 30 | +
|
|---|
| 31 | +#endif
|
|---|
| 32 | +
|
|---|
| 33 | #ifdef __linux__
|
|---|
| 34 | const char *ifname = "wifi0";
|
|---|
| 35 | #else
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.