]> git.ipfire.org Git - thirdparty/hostap.git/commit
Reset beacon_set_done on disabling interface
authornakul kachhwaha <nkachhwa@codeaurora.org>
Wed, 3 Apr 2019 07:02:59 +0000 (12:32 +0530)
committerJouni Malinen <j@w1.fi>
Fri, 12 Apr 2019 17:18:09 +0000 (20:18 +0300)
commit2ab19f4be9ea6573caf2864581fd474e2265f7d1
tree6f927cf9cd1fef24ef11e91adb31792ac4a3ec7a
parent89bbe6f87a04ce5faf8c68dba235d0f7e545872f
Reset beacon_set_done on disabling interface

beacon_set_done did not get reset to zero on disabling interface using
DISABLE control interface command and the subsequent ENABLE command will
caused configuration of Beacon/Probe Response/Association Response frame
IEs twice. The unnecessary two step configuration can be avoided by
resetting beacon_set_done on DISABLE so that ENABLE can bring up the
interface in a single step with fully updated IEs.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/ap/hostapd.c