From f571b593ba86a4f8345e4e306fcf8842c2f00863 Mon Sep 17 00:00:00 2001 From: Wei-Jen Lin Date: Thu, 3 May 2012 16:41:15 +0300 Subject: [PATCH] P2P: Clone max_sta_num parameter for group interfaces This is needed to allow the max_sta_num parameter set in the main configuration file to apply to dynamically created P2P group interfaces. Signed-hostap: Jouni Malinen intended-for: hostap-1 --- 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 65c399a50..faff935d2 100644 --- a/wpa_supplicant/p2p_supplicant.c +++ b/wpa_supplicant/p2p_supplicant.c @@ -836,6 +836,7 @@ static void wpas_p2p_clone_config(struct wpa_supplicant *dst, d->p2p_group_idle = s->p2p_group_idle; d->p2p_intra_bss = s->p2p_intra_bss; d->persistent_reconnect = s->persistent_reconnect; + d->max_num_sta = s->max_num_sta; }