aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/hostapd/patches/450-scan_wait.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-03-26 23:33:47 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-03-26 23:33:47 +0000
commit0be32368ad57192f5b92c96f61021b6d8752469e (patch)
treeee4cc1f042906b1a41b1102091ca342dab62a191 /package/network/services/hostapd/patches/450-scan_wait.patch
parentd82b57a74f46f61ae387a344926100d61ec72d93 (diff)
downloadupstream-0be32368ad57192f5b92c96f61021b6d8752469e.tar.gz
upstream-0be32368ad57192f5b92c96f61021b6d8752469e.tar.bz2
upstream-0be32368ad57192f5b92c96f61021b6d8752469e.zip
hostapd: update hostapd to 2015-03-25
madwifi was dropped upstream, can't find it anywhere in OpenWrt either, thus finally burrying madwifi. Signed-off-by: Daniel Golle <daniel@makrotopia.org> Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45045 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/services/hostapd/patches/450-scan_wait.patch')
-rw-r--r--package/network/services/hostapd/patches/450-scan_wait.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/network/services/hostapd/patches/450-scan_wait.patch b/package/network/services/hostapd/patches/450-scan_wait.patch
index 629786d9c6..bce4929d9b 100644
--- 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;
-@@ -374,8 +386,6 @@ static void hostapd_global_deinit(const
+@@ -381,8 +393,6 @@ static void hostapd_global_deinit(const
#endif /* CONFIG_NATIVE_WINDOWS */
eap_server_unregister_methods();
@@ -42,19 +42,19 @@
}
-@@ -401,11 +411,6 @@ static int hostapd_global_run(struct hap
+@@ -408,11 +418,6 @@ static int hostapd_global_run(struct hap
}
#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;
-@@ -535,8 +540,7 @@ int main(int argc, char *argv[])
+@@ -542,8 +547,7 @@ int main(int argc, char *argv[])
struct hapd_interfaces interfaces;
int ret = 1;
size_t i, j;