Browse Source

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
Wei-Jen Lin 13 years ago
parent
commit
f571b593ba
1 changed files with 1 additions and 0 deletions
  1. 1 0
      wpa_supplicant/p2p_supplicant.c

+ 1 - 0
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;
 }