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)
commit79aae5e3041e646196844694e27e3ab14aebcb1c
tree50ed2cfb4b1c28915e15c163964dc3702428011b
parent3dc65d9004190bacb799139ea1969dfb6e66b5e2
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]