aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/ap.c
diff options
context:
space:
mode:
authorEtay Luz <eluz@qca.qualcomm.com>2012-06-04 14:52:37 (GMT)
committerJouni Malinen <j@w1.fi>2012-06-04 14:52:37 (GMT)
commitfdfb1c8bcf491ca91f6575e31a02e5d5d2de911d (patch)
tree19c94657f1cd096657ba4a3c46b973980d724d80 /wpa_supplicant/ap.c
parentf5d4dd5ad4148b2ba9350d8f3491140d40bdaa84 (diff)
downloadhostap-fdfb1c8bcf491ca91f6575e31a02e5d5d2de911d.zip
hostap-fdfb1c8bcf491ca91f6575e31a02e5d5d2de911d.tar.gz
hostap-fdfb1c8bcf491ca91f6575e31a02e5d5d2de911d.tar.bz2
wpa_supplicant: Support dtim_period configuration for AP mode
Signed-off-by: Etay Luz <eluz@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/ap.c')
-rw-r--r--wpa_supplicant/ap.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/wpa_supplicant/ap.c b/wpa_supplicant/ap.c
index d531583..7e6441e 100644
--- a/wpa_supplicant/ap.c
+++ b/wpa_supplicant/ap.c
@@ -193,6 +193,9 @@ static int wpa_supplicant_conf_ap(struct wpa_supplicant *wpa_s,
if (ssid->ap_max_inactivity)
bss->ap_max_inactivity = ssid->ap_max_inactivity;
+ if (ssid->dtim_period)
+ bss->dtim_period = ssid->dtim_period;
+
/* Select group cipher based on the enabled pairwise cipher suites */
pairwise = 0;
if (bss->wpa & 1)