projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[ar71xx] fix dir-825-b1 default network config after r21905
[openwrt.git]
/
package
/
madwifi
/
patches
/
102-multicall_binary.patch
diff --git
a/package/madwifi/patches/102-multicall_binary.patch
b/package/madwifi/patches/102-multicall_binary.patch
index
bbf178a
..
887a462
100644
(file)
--- a/
package/madwifi/patches/102-multicall_binary.patch
+++ b/
package/madwifi/patches/102-multicall_binary.patch
@@
-8,7
+8,7
@@
#undef ARRAY_SIZE
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
#undef ARRAY_SIZE
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
-@@ -185,7 +186,7 @@
+@@ -185,7 +186,7 @@
sysctlbyname(const char *oid0, void *old
#endif /* __linux__ */
int
#endif /* __linux__ */
int
@@
-27,7
+27,7
@@
#ifndef SIOCG80211STATS
#define SIOCG80211STATS (SIOCDEVPRIVATE + 2)
#ifndef SIOCG80211STATS
#define SIOCG80211STATS (SIOCDEVPRIVATE + 2)
-@@ -240,7 +241,7 @@
+@@ -240,7 +241,7 @@
print_sta_stats(FILE *fd, const u_int8_t
}
int
}
int
@@
-46,7
+46,7
@@
static int s = -1;
static const char *progname;
static int s = -1;
static const char *progname;
-@@ -140,8 +141,9 @@
+@@ -140,8 +141,9 @@
usage(void)
}
#define MAXCHAN ((int)(sizeof(struct ieee80211req_chanlist) * NBBY))
}
#define MAXCHAN ((int)(sizeof(struct ieee80211req_chanlist) * NBBY))
@@
-67,7
+67,7
@@
static int
setsysctrl(const char *dev, const char *control , u_long value)
static int
setsysctrl(const char *dev, const char *control , u_long value)
-@@ -88,7 +89,7 @@
+@@ -88,7 +89,7 @@
static void usage(void)
}
int
}
int
@@
-86,7
+86,7
@@
#undef ARRAY_SIZE
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
#undef ARRAY_SIZE
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
-@@ -194,7 +195,7 @@
+@@ -194,7 +195,7 @@
sysctlbyname(const char *oid0, void *old
#endif /* __linux__ */
int
#endif /* __linux__ */
int
@@
-105,7
+105,7
@@
static int s = -1;
static const char *progname;
static int s = -1;
static const char *progname;
-@@ -213,8 +214,7 @@
+@@ -213,8 +214,7 @@
usage(void)
exit(-1);
}
exit(-1);
}
@@
-125,7
+125,7
@@
static const struct {
u_int phyerr;
static const struct {
u_int phyerr;
-@@ -228,7 +229,7 @@
+@@ -228,7 +229,7 @@
catchalarm(int signo)
}
int
}
int
@@
-136,8
+136,9
@@
const char *ifname = "wifi0";
--- /dev/null
+++ b/tools/do_multi.c
const char *ifname = "wifi0";
--- /dev/null
+++ b/tools/do_multi.c
-@@ -0,0 +1,3
2
@@
+@@ -0,0 +1,3
3
@@
+#include <string.h>
+#include <string.h>
++#include <libgen.h>
+#include "do_multi.h"
+
+int
+#include "do_multi.h"
+
+int
@@
-189,7
+190,7
@@
+#endif
--- a/tools/Makefile
+++ b/tools/Makefile
+#endif
--- a/tools/Makefile
+++ b/tools/Makefile
-@@ -46,56 +46,55 @@
+@@ -46,56 +46,55 @@
ifeq ($(HAL),)
HAL= $(TOP)/hal
endif
HAL= $(TOP)/hal
endif
@@
-283,7
+284,7
@@
/*
* These are taken from ieee80211_node.h
/*
* These are taken from ieee80211_node.h
-@@ -100,7 +101,7 @@
+@@ -100,7 +101,7 @@
size_t strlcat(char *, const char *, siz
static int verbose = 0;
int
static int verbose = 0;
int
@@
-302,7
+303,7
@@
#undef ARRAY_SIZE
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
#undef ARRAY_SIZE
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
-@@ -738,7 +739,8 @@
+@@ -738,7 +739,8 @@
static void usage(const char *n)
"unlawful radio transmissions!\n\n");
}
"unlawful radio transmissions!\n\n");
}
This page took
0.031739 seconds
and
4
git commands to generate.