source: freewrt/package/madwifi/patches/patch-tools_wlanconfig_c@ 9ff05d6

freewrt_1_0 freewrt_2_0
Last change on this file since 9ff05d6 was 9ff05d6, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago

update madwifi to 0.9.2, works on netgear

git-svn-id: svn://www.freewrt.org/trunk/freewrt@667 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 629 bytes
Line 
1$FreeWRT$
2--- madwifi-0.9.2.orig/tools/wlanconfig.c Sun May 14 09:17:29 2006
3+++ madwifi-0.9.2/tools/wlanconfig.c Thu Sep 21 02:15:31 2006
4@@ -60,6 +60,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 /*
13 * These are taken from ieee80211_node.h
14 */
15@@ -96,9 +100,19 @@ size_t strlcat(char *, const char *, siz
16
17 int verbose = 0;
18
19+#ifdef DOMULTI
20+
21 int
22+wlanconfig_init(int argc, char *argv[])
23+{
24+
25+#else
26+
27+int
28 main(int argc, char *argv[])
29 {
30+
31+#endif
32 const char *ifname, *cmd;
33 unsigned char bnounit = 0;
34 char *if_base = NULL;
Note: See TracBrowser for help on using the repository browser.