diff --git a/hostapd/config_file.c b/hostapd/config_file.c index 72b19bb4..cbec9fb2 100644 --- a/hostapd/config_file.c +++ b/hostapd/config_file.c @@ -2139,7 +2139,7 @@ static int hostapd_config_fill(struct hostapd_config *conf, } else if (os_strcmp(buf, "enable_mana") == 0) { int val = atoi(pos); conf->enable_mana = (val != 0); - if (conf->mana_wpaout) { + if (os_strcmp(conf->mana_wpaout,"NOT_SET") != 0) { wpa_printf(MSG_ERROR, "MANA: For now, you can't use mana mode with WPA/2 handshake capture. See the Wiki."); return 1; }