freewrt_1_0
freewrt_2_0
| Line | |
|---|
| 1 | $FreeWRT$
|
|---|
| 2 | --- madwifi-0.9.2.orig/tools/athchans.c Wed Feb 1 21:07:11 2006
|
|---|
| 3 | +++ madwifi-0.9.2/tools/athchans.c Thu Sep 21 02:15:31 2006
|
|---|
| 4 | @@ -57,6 +57,10 @@
|
|---|
| 5 | #include "net80211/ieee80211_crypto.h"
|
|---|
| 6 | #include "net80211/ieee80211_ioctl.h"
|
|---|
| 7 |
|
|---|
| 8 | +#ifdef DOMULTI
|
|---|
| 9 | +#include "do_multi.h"
|
|---|
| 10 | +#endif
|
|---|
| 11 | +
|
|---|
| 12 | static int s = -1;
|
|---|
| 13 | const char *progname;
|
|---|
| 14 |
|
|---|
| 15 | @@ -134,9 +138,20 @@ usage(void)
|
|---|
| 16 | }
|
|---|
| 17 |
|
|---|
| 18 | #define MAXCHAN ((int)(sizeof(struct ieee80211req_chanlist) * NBBY))
|
|---|
| 19 | +
|
|---|
| 20 | +#ifdef DOMULTI
|
|---|
| 21 | +
|
|---|
| 22 | int
|
|---|
| 23 | +athchans_init(int argc, char *argv[])
|
|---|
| 24 | +{
|
|---|
| 25 | +
|
|---|
| 26 | +#else
|
|---|
| 27 | +
|
|---|
| 28 | +int
|
|---|
| 29 | main(int argc, char *argv[])
|
|---|
| 30 | {
|
|---|
| 31 | +
|
|---|
| 32 | +#endif
|
|---|
| 33 | const char *ifname = "wifi0";
|
|---|
| 34 | struct ieee80211req_chanlist chanlist;
|
|---|
| 35 | int c;
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.