aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/hostapd/patches/100-daemonize_fix.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2017-01-15 14:19:43 +0100
committerFelix Fietkau <nbd@nbd.name>2017-01-15 14:53:28 +0100
commit40e4c342fd49175b7f367655fac38850435667d4 (patch)
tree8b5c6cf8f8e2421e03aa30d3e88412b19807776f /package/network/services/hostapd/patches/100-daemonize_fix.patch
parenta206394efa88291dbf825210ca3bab056c407802 (diff)
downloadupstream-40e4c342fd49175b7f367655fac38850435667d4.tar.gz
upstream-40e4c342fd49175b7f367655fac38850435667d4.tar.bz2
upstream-40e4c342fd49175b7f367655fac38850435667d4.zip
hostapd: backport a few upstream fixes
Fixes reassoc issues with WDS mode Fixes reassoc issues in AP mode Fixes IBSS reauthentication issues Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/network/services/hostapd/patches/100-daemonize_fix.patch')
-rw-r--r--package/network/services/hostapd/patches/100-daemonize_fix.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/network/services/hostapd/patches/100-daemonize_fix.patch b/package/network/services/hostapd/patches/100-daemonize_fix.patch
index fad84669a6..0389406a98 100644
--- a/package/network/services/hostapd/patches/100-daemonize_fix.patch
+++ b/package/network/services/hostapd/patches/100-daemonize_fix.patch
@@ -60,13 +60,13 @@
+ if (chdir("/") < 0)
return -1;
- }
--
+
- return 0;
-}
-#else /* __APPLE__ */
-#define os_daemon daemon
-#endif /* __APPLE__ */
-
+-
-
-int os_daemonize(const char *pid_file)
-{