hostapd: Skip full AP configuration validation on SET command
authorJouni Malinen <j@w1.fi>
Tue, 7 Jan 2014 18:14:53 +0000 (20:14 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 7 Jan 2014 18:23:56 +0000 (20:23 +0200)
commit08081ad8efbf43eeea15969f9b2c487f9f7f25b8
treec302ec5b6f8ea45bf6d959dfb51748e99c47ef93
parentf19ee5b7f7262cad4c0082014b8102fa87bdf3fb
hostapd: Skip full AP configuration validation on SET command

It is possible for the configuration to be temporarily invalid when
adding a new AP through SET commands followed by ENABLE. Avoid this
issue by using less strict validation on SET commands and perform full
configuration validation only on ENABLE. Use cases with configuration
file maintain their previous behavior, i.e., full validation after the
file has been read.

Signed-hostap: Jouni Malinen <j@w1.fi>
hostapd/config_file.c
src/ap/ap_config.c
src/ap/ap_config.h
src/ap/hostapd.c