aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2008-01-12 20:10:13 (GMT)
committerJouni Malinen <j@w1.fi>2008-01-12 20:10:13 (GMT)
commitc67110591c5694df80c1f67e6300432554d56b68 (patch)
treee28250563ff437ec96fe2cbea25217c9ba1fbd43 /hostapd
parent5882e10f5b582638f6243ed12983a3e6cfa2434a (diff)
downloadhostap-history-c67110591c5694df80c1f67e6300432554d56b68.zip
hostap-history-c67110591c5694df80c1f67e6300432554d56b68.tar.gz
hostap-history-c67110591c5694df80c1f67e6300432554d56b68.tar.bz2
WPS: Allow Response Type to be configured (AP vs. Registrar)
Diffstat (limited to 'hostapd')
-rw-r--r--hostapd/wps_hostapd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hostapd/wps_hostapd.c b/hostapd/wps_hostapd.c
index 08b7d5f..3404158 100644
--- a/hostapd/wps_hostapd.c
+++ b/hostapd/wps_hostapd.c
@@ -180,6 +180,7 @@ int hostapd_init_wps(struct hostapd_data *hapd,
cfg.uuid = hapd->conf->uuid;
cfg.ssid = (const u8 *) hapd->conf->ssid.ssid;
cfg.ssid_len = hapd->conf->ssid.ssid_len;
+ cfg.ap = 1;
cfg.dev.device_name = hapd->conf->device_name;
cfg.dev.manufacturer = hapd->conf->manufacturer;
cfg.dev.model_name = hapd->conf->model_name;