]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
P2P: Clone max_sta_num parameter for group interfaces
authorWei-Jen Lin <jenlin@qca.qualcomm.com>
Thu, 3 May 2012 13:41:15 +0000 (16:41 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 3 May 2012 13:41:15 +0000 (16:41 +0300)
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 <jouni@qca.qualcomm.com>
intended-for: hostap-1

wpa_supplicant/p2p_supplicant.c

index 65c399a50e78f9b8408461aacec08fa2b45df796..faff935d22dbb48becbd556f0904f0d16ed20369 100644 (file)
@@ -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;
 }