From: Wei-Jen Lin Date: Thu, 3 May 2012 13:41:15 +0000 (+0300) Subject: P2P: Clone max_sta_num parameter for group interfaces X-Git-Tag: hostap_2_0~699 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f571b593ba86a4f8345e4e306fcf8842c2f00863;p=thirdparty%2Fhostap.git 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 --- 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; }