]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/p2p_supplicant.c
P2P: Remove unnecessary ifdef CONFIG_NO_CONFIG_WRITE
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 25 Feb 2014 17:29:05 +0000 (19:29 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 25 Feb 2014 17:31:16 +0000 (19:31 +0200)
commit2a33687ec70e23468e5b7906c6b52c3637df2009
tree99020877dccf57bb2935be4425e1b32bd82651d4
parent050d8b5cc7e3ad06d0df868cb307b6d1647c4f78
P2P: Remove unnecessary ifdef CONFIG_NO_CONFIG_WRITE

wpa_config_write() is defined as a dummy function even if actual
operation to write the configuration file are commented out from the
build. This cleans up the code a bit and removed a compiler warning on
set-only variable.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/p2p_supplicant.c