]> git.ipfire.org Git - thirdparty/hostap.git/commit
AP: Add wpa_psk_file reloading in runtime
authorMichal Kazior <michal@plume.com>
Wed, 16 Jan 2019 12:35:20 +0000 (13:35 +0100)
committerJouni Malinen <j@w1.fi>
Sat, 26 Jan 2019 15:52:04 +0000 (17:52 +0200)
commit83c8608132f5e4b756aaac2df6ab06f6776f6642
treed2baf31a77499c33449d4c18ed3d2eef456c899d
parentec5c39a5574d4fbee983ae659ea0834bf48ea14d
AP: Add wpa_psk_file reloading in runtime

The wpa_psk_file can now be modified and hostapd can be told to re-read
it with the control interface RELOAD_WPA_PSK command:

 $ hostapd_cli reload_wpa_psk

It must be noted special care must be taken if WPS is configured
(wps_state=2, eap_server=1) because WPS appends PMKs to the
wpa_psk_file.

Signed-off-by: Michal Kazior <michal@plume.com>
hostapd/ctrl_iface.c
hostapd/hostapd_cli.c