wpa_supplicant: Fix CONFIG_AP build without CTRL_IFACE
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 12 May 2016 22:26:59 +0000 (00:26 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 13 May 2016 15:31:01 +0000 (18:31 +0300)
commit3dd0e9e4e46cc72b4abe6dd106184c153ec77efb
treec882ff611216e8b3e5ba6b056c5dd2c07e5e60ec
parentd58b60da87a741d35de74fa4eed34d7fc7085017
wpa_supplicant: Fix CONFIG_AP build without CTRL_IFACE

wpas_ap_pmksa_cache_list() and wpas_ap_pmksa_cache_flush() should be
under the #ifdef since they're only called for the control iface and
use functionality that otherwise isn't available.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
wpa_supplicant/ap.c