freewrt_1_0
freewrt_2_0
| Line | |
|---|
| 1 | $FreeWRT$
|
|---|
| 2 | --- madwifi-0.9.2.orig/tools/athctrl.c Fri Feb 3 13:03:03 2006
|
|---|
| 3 | +++ madwifi-0.9.2/tools/athctrl.c Thu Sep 21 02:15:31 2006
|
|---|
| 4 | @@ -53,6 +53,10 @@
|
|---|
| 5 |
|
|---|
| 6 | #include <net/if.h>
|
|---|
| 7 |
|
|---|
| 8 | +#ifdef DOMULTI
|
|---|
| 9 | +#include "do_multi.h"
|
|---|
| 10 | +#endif
|
|---|
| 11 | +
|
|---|
| 12 | static int
|
|---|
| 13 | setsysctrl(const char *dev, const char *control , u_long value)
|
|---|
| 14 | {
|
|---|
| 15 | @@ -87,9 +91,19 @@ static void usage(void)
|
|---|
| 16 | exit(1);
|
|---|
| 17 | }
|
|---|
| 18 |
|
|---|
| 19 | +#ifdef DOMULTI
|
|---|
| 20 | +
|
|---|
| 21 | int
|
|---|
| 22 | +athctrl_init(int argc, char *argv[])
|
|---|
| 23 | +{
|
|---|
| 24 | +
|
|---|
| 25 | +#else
|
|---|
| 26 | +
|
|---|
| 27 | +int
|
|---|
| 28 | main(int argc, char *argv[])
|
|---|
| 29 | {
|
|---|
| 30 | +
|
|---|
| 31 | +#endif
|
|---|
| 32 | char device[IFNAMSIZ + 1];
|
|---|
| 33 | int distance = -1;
|
|---|
| 34 | int c;
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.