aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSreeramya Soratkal <ssramya@codeaurora.org>2020-09-24 10:38:27 (GMT)
committerJouni Malinen <j@w1.fi>2020-10-22 20:51:54 (GMT)
commit9c39c1a6d3c246925e02571dfdf01d0a78082dd2 (patch)
tree09121217d4eebde87f90bdf3d1870cda42df25f4
parent8f0ed71ffeae9b8c829055603c6bfe37982814bd (diff)
downloadhostap-master.zip
hostap-master.tar.gz
hostap-master.tar.bz2
P2P: Include p2p_add_cli_chan parameter while cloning the configurationHEADpendingmaster
The dynamically created P2P group interface did not consider the channels that can be used by the P2P client during the P2P group formation. Copy the p2p_add_cli_chan parameter while cloning the configuration to the P2P group interface. This allows the dynamically created group interface case to form the group in the specific client-only channels when the device is a P2P client in the group. Signed-off-by: Sreeramya Soratkal <ssramya@codeaurora.org>
-rw-r--r--wpa_supplicant/p2p_supplicant.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/p2p_supplicant.c b/wpa_supplicant/p2p_supplicant.c
index 4c083f8..330687b 100644
--- a/wpa_supplicant/p2p_supplicant.c
+++ b/wpa_supplicant/p2p_supplicant.c
@@ -2161,6 +2161,7 @@ do { \
d->go_internet = s->go_internet;
d->go_venue_group = s->go_venue_group;
d->go_venue_type = s->go_venue_type;
+ d->p2p_add_cli_chan = s->p2p_add_cli_chan;
}