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 <jouni@qca.qualcomm.com>
intended-for: hostap-1
This commit is contained in:
Wei-Jen Lin 2012-05-03 16:41:15 +03:00 committed by Jouni Malinen
parent 6434ad09d6
commit f571b593ba

View 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;
}