diff options
author | Felix Fietkau <nbd@nbd.name> | 2017-01-15 14:19:43 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2017-01-15 14:53:28 +0100 |
commit | 40e4c342fd49175b7f367655fac38850435667d4 (patch) | |
tree | 8b5c6cf8f8e2421e03aa30d3e88412b19807776f /package/network/services/hostapd/patches/100-daemonize_fix.patch | |
parent | a206394efa88291dbf825210ca3bab056c407802 (diff) | |
download | mtk-20170518-40e4c342fd49175b7f367655fac38850435667d4.zip mtk-20170518-40e4c342fd49175b7f367655fac38850435667d4.tar.gz mtk-20170518-40e4c342fd49175b7f367655fac38850435667d4.tar.bz2 |
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.patch | 4 |
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 fad8466..0389406 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) -{ |