BB: hostapd: Fix RADIUS connection recovery after initial failure (#18197)
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 27 Jul 2015 13:29:08 +0000 (13:29 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 27 Jul 2015 13:29:08 +0000 (13:29 +0000)
commit701f6d22bf0916ed9a4d37e269b08ae3d3a3cebb
tree2b1465aeeb7366a057abbe991a4b7224b745ae2f
parentab8416a593b4fda265befc9e89c4912bf026eb76
BB: hostapd: Fix RADIUS connection recovery after initial failure (#18197)

If the initial attempt at opening the socket connection to the RADIUS
server failed due to missing IP connectivity during startup, e.g., with
"connect[radius]: Network is unreachable", hostapd did not try to
reconnect when RADIUS messages were sent. Instead, it only reported "No
authentication server configured" even if the configuration did have a
server entry.

Backport of upstream commit 94b39e5927e570e6b0fe41d455dde0a361c71c36
("RADIUS client: Fix server connection recovery after initial failure")

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 46512
package/network/services/hostapd/Makefile
package/network/services/hostapd/patches/700-fix-radius-reconnect.patch [new file with mode: 0644]