[PATCH 1/4] wpa_supplicant: clone dtim period to a new interface

Ilan Peer ilan.peer
Wed Jan 22 06:05:44 PST 2014


From: David Spinadel <david.spinadel at intel.com>

Cloning dtim_period is needed for GO.

Signed-hostap: David Spinadel <david.spinadel at intel.com>
---
 wpa_supplicant/p2p_supplicant.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/wpa_supplicant/p2p_supplicant.c b/wpa_supplicant/p2p_supplicant.c
index 5ef7614..889a949 100644
--- a/wpa_supplicant/p2p_supplicant.c
+++ b/wpa_supplicant/p2p_supplicant.c
@@ -1342,6 +1342,7 @@ static void wpas_p2p_clone_config(struct wpa_supplicant *dst,
 	d->pbc_in_m1 = s->pbc_in_m1;
 	d->ignore_old_scan_res = s->ignore_old_scan_res;
 	d->beacon_int = s->beacon_int;
+	d->dtim_period = s->dtim_period;
 	d->disassoc_low_ack = s->disassoc_low_ack;
 	d->disable_scan_offload = s->disable_scan_offload;
 }
-- 
1.7.10.4




More information about the Hostap mailing list