Skip to content

Commit

Permalink
Fix to mana_wpaout config option set check
Browse files Browse the repository at this point in the history
  • Loading branch information
singe committed Jan 10, 2019
1 parent f22f37a commit e7c5a89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hostapd/config_file.c
Expand Up @@ -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;
}
Expand Down

0 comments on commit e7c5a89

Please sign in to comment.