projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[package] fix USB modules build on octeon
[openwrt.git]
/
package
/
hostapd
/
patches
/
500-scan_wait.patch
diff --git
a/package/hostapd/patches/500-scan_wait.patch
b/package/hostapd/patches/500-scan_wait.patch
index
61a142a
..
14dccc3
100644
(file)
--- a/
package/hostapd/patches/500-scan_wait.patch
+++ b/
package/hostapd/patches/500-scan_wait.patch
@@
-1,6
+1,6
@@
--- a/src/ap/hostapd.h
+++ b/src/ap/hostapd.h
--- a/src/ap/hostapd.h
+++ b/src/ap/hostapd.h
-@@ -2
71,6 +271
,7 @@ struct hostapd_iface {
+@@ -2
28,6 +228
,7 @@ struct hostapd_iface {
int (*for_each_interface)(struct hapd_interfaces *interfaces,
int (*cb)(struct hostapd_iface *iface,
void *ctx), void *ctx);
int (*for_each_interface)(struct hapd_interfaces *interfaces,
int (*cb)(struct hostapd_iface *iface,
void *ctx), void *ctx);
@@
-10,7
+10,7
@@
/* hostapd.c */
--- a/src/ap/hostapd.c
+++ b/src/ap/hostapd.c
/* hostapd.c */
--- a/src/ap/hostapd.c
+++ b/src/ap/hostapd.c
-@@ -7
87,6 +787
,9 @@ int hostapd_setup_interface_complete(str
+@@ -7
90,6 +790
,9 @@ int hostapd_setup_interface_complete(str
wpa_printf(MSG_DEBUG, "%s: Setup of interface done.",
iface->bss[0]->conf->iface);
wpa_printf(MSG_DEBUG, "%s: Setup of interface done.",
iface->bss[0]->conf->iface);
@@
-86,17
+86,17
@@
eloop_run();
return 0;
eloop_run();
return 0;
-@@ -4
79,8 +485
,7 @@ int main(int argc, char *argv[])
+@@ -4
91,8 +497
,7 @@ int main(int argc, char *argv[])
struct hapd_interfaces interfaces;
int ret = 1;
size_t i;
- int c, debug = 0, daemonize = 0;
- char *pid_file = NULL;
+ int c, debug = 0;
struct hapd_interfaces interfaces;
int ret = 1;
size_t i;
- int c, debug = 0, daemonize = 0;
- char *pid_file = NULL;
+ int c, debug = 0;
+ const char *log_file = NULL;
if (os_program_init())
if (os_program_init())
- return -1;
-@@ -545,7 +550,7 @@ int main(int argc, char *argv[])
+@@ -566,7 +571,7 @@ int main(int argc, char *argv[])
goto out;
}
goto out;
}
@@
-105,7
+105,7
@@
goto out;
ret = 0;
goto out;
ret = 0;
-@@ -5
56,7 +561
,7 @@ int main(int argc, char *argv[])
+@@ -5
77,7 +582
,7 @@ int main(int argc, char *argv[])
hostapd_interface_deinit_free(interfaces.iface[i]);
os_free(interfaces.iface);
hostapd_interface_deinit_free(interfaces.iface[i]);
os_free(interfaces.iface);
@@
-113,10
+113,10
@@
+ hostapd_global_deinit();
os_free(pid_file);
+ hostapd_global_deinit();
os_free(pid_file);
- os_program_deinit();
+ if (log_file)
--- a/hostapd/config_file.c
+++ b/hostapd/config_file.c
--- a/hostapd/config_file.c
+++ b/hostapd/config_file.c
-@@ -189
0,6 +1890
,8 @@ struct hostapd_config * hostapd_config_r
+@@ -189
1,6 +1891
,8 @@ struct hostapd_config * hostapd_config_r
}
#endif /* CONFIG_IEEE80211W */
#ifdef CONFIG_IEEE80211N
}
#endif /* CONFIG_IEEE80211W */
#ifdef CONFIG_IEEE80211N
@@
-127,17
+127,17
@@
} else if (os_strcmp(buf, "ht_capab") == 0) {
--- a/src/ap/ap_config.h
+++ b/src/ap/ap_config.h
} else if (os_strcmp(buf, "ht_capab") == 0) {
--- a/src/ap/ap_config.h
+++ b/src/ap/ap_config.h
-@@ -38
0,6 +380
,7 @@ struct hostapd_config {
+@@ -38
9,6 +389
,7 @@ struct hostapd_config {
int ht_op_mode_fixed;
u16 ht_capab;
+ int noscan;
int ieee80211n;
int secondary_channel;
int ht_op_mode_fixed;
u16 ht_capab;
+ int noscan;
int ieee80211n;
int secondary_channel;
-
}
;
+
int require_ht
;
--- a/src/ap/hw_features.c
+++ b/src/ap/hw_features.c
--- a/src/ap/hw_features.c
+++ b/src/ap/hw_features.c
-@@ -46
0,7 +460
,7 @@ static int ieee80211n_check_40mhz(struct
+@@ -46
3,7 +463
,7 @@ static int ieee80211n_check_40mhz(struct
{
struct wpa_driver_scan_params params;
{
struct wpa_driver_scan_params params;
This page took
0.030916 seconds
and
4
git commands to generate.