Add option to reject authentication on 2.4 GHz from dualband STA
[mech_eap.git] / hostapd / config_file.c
index 57ccbc6..82ac61d 100644 (file)
@@ -3406,6 +3406,9 @@ static int hostapd_config_fill(struct hostapd_config *conf,
        } else if (os_strcmp(buf, "no_probe_resp_if_seen_on") == 0) {
                os_free(bss->no_probe_resp_if_seen_on);
                bss->no_probe_resp_if_seen_on = os_strdup(pos);
+       } else if (os_strcmp(buf, "no_auth_if_seen_on") == 0) {
+               os_free(bss->no_auth_if_seen_on);
+               bss->no_auth_if_seen_on = os_strdup(pos);
        } else {
                wpa_printf(MSG_ERROR,
                           "Line %d: unknown configuration item '%s'",