projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
hostapd: update hostapd to 2015-03-25
[openwrt/svn-archive/archive.git]
/
package
/
network
/
services
/
hostapd
/
patches
/
450-scan_wait.patch
diff --git
a/package/network/services/hostapd/patches/450-scan_wait.patch
b/package/network/services/hostapd/patches/450-scan_wait.patch
index 629786d9c6e008755dd62d7605c525e35632ca05..bce4929d9b62df793928abee014bfc86bed86be8 100644
(file)
--- a/
package/network/services/hostapd/patches/450-scan_wait.patch
+++ b/
package/network/services/hostapd/patches/450-scan_wait.patch
@@
-33,7
+33,7
@@
/* Initialize the driver interface */
if (!(b[0] | b[1] | b[2] | b[3] | b[4] | b[5]))
b = NULL;
/* Initialize the driver interface */
if (!(b[0] | b[1] | b[2] | b[3] | b[4] | b[5]))
b = NULL;
-@@ -3
74,8 +386
,6 @@ static void hostapd_global_deinit(const
+@@ -3
81,8 +393
,6 @@ static void hostapd_global_deinit(const
#endif /* CONFIG_NATIVE_WINDOWS */
eap_server_unregister_methods();
#endif /* CONFIG_NATIVE_WINDOWS */
eap_server_unregister_methods();
@@
-42,19
+42,19
@@
}
}
-@@ -40
1,11 +411
,6 @@ static int hostapd_global_run(struct hap
+@@ -40
8,11 +418
,6 @@ static int hostapd_global_run(struct hap
}
#endif /* EAP_SERVER_TNC */
- if (daemonize && os_daemonize(pid_file)) {
}
#endif /* EAP_SERVER_TNC */
- if (daemonize && os_daemonize(pid_file)) {
--
perror("daemon"
);
+-
wpa_printf(MSG_ERROR, "daemon: %s", strerror(errno)
);
- return -1;
- }
-
eloop_run();
return 0;
- return -1;
- }
-
eloop_run();
return 0;
-@@ -5
35,8 +540
,7 @@ int main(int argc, char *argv[])
+@@ -5
42,8 +547
,7 @@ int main(int argc, char *argv[])
struct hapd_interfaces interfaces;
int ret = 1;
size_t i, j;
struct hapd_interfaces interfaces;
int ret = 1;
size_t i, j;