aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/hostapd/files/hostapd-basic.config
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2019-05-04 14:02:07 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2019-09-22 17:39:51 +0200
commit998686364da7d002ba9f6dbb43cc5f32294dd4ab (patch)
treecd1818e79ff096e1ed114c4737a6889663a5b610 /package/network/services/hostapd/files/hostapd-basic.config
parent0d86bf518aaefa57bef577d09a18aff03eccb70c (diff)
downloadupstream-998686364da7d002ba9f6dbb43cc5f32294dd4ab.tar.gz
upstream-998686364da7d002ba9f6dbb43cc5f32294dd4ab.tar.bz2
upstream-998686364da7d002ba9f6dbb43cc5f32294dd4ab.zip
hostapd: use getrandom syscall
hostapd will not use the getrandom() syscall and as a fallback use /dev/random, the syscall is supported since Linux 3.17 and in the musl, glibc and uclibc version used by OpenWrt. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'package/network/services/hostapd/files/hostapd-basic.config')
-rw-r--r--package/network/services/hostapd/files/hostapd-basic.config2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/services/hostapd/files/hostapd-basic.config b/package/network/services/hostapd/files/hostapd-basic.config
index 3773d08ac3..461b178433 100644
--- a/package/network/services/hostapd/files/hostapd-basic.config
+++ b/package/network/services/hostapd/files/hostapd-basic.config
@@ -262,7 +262,7 @@ CONFIG_NO_RANDOM_POOL=y
# Should we attempt to use the getrandom(2) call that provides more reliable
# yet secure randomness source than /dev/random on Linux 3.17 and newer.
# Requires glibc 2.25 to build, falls back to /dev/random if unavailable.
-#CONFIG_GETRANDOM=y
+CONFIG_GETRANDOM=y
# Should we use poll instead of select? Select is used by default.
#CONFIG_ELOOP_POLL=y