aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2013-03-16 18:45:21 (GMT)
committerJouni Malinen <j@w1.fi>2014-01-27 19:10:55 (GMT)
commitea43ad960bfd7b1722b2ae1579f62c76ef30176f (patch)
tree605a467e1bb3e1c866816dd9e9bb5c48fba22672 /wpa_supplicant
parent9f7cd9ae8ac2d2272bd6c0528134ff8f4dbe3e00 (diff)
downloadhostap-ea43ad960bfd7b1722b2ae1579f62c76ef30176f.zip
hostap-ea43ad960bfd7b1722b2ae1579f62c76ef30176f.tar.gz
hostap-ea43ad960bfd7b1722b2ae1579f62c76ef30176f.tar.bz2
P2P: Make group operating channel available
Provide local GO channel to the P2P module so that it can be used in messages that indicate the current operating channel. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant')
-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 a7eb9aa..fa9a985 100644
--- a/wpa_supplicant/p2p_supplicant.c
+++ b/wpa_supplicant/p2p_supplicant.c
@@ -5235,6 +5235,7 @@ struct p2p_group * wpas_p2p_group_init(struct wpa_supplicant *wpa_s,
cfg->max_clients = wpa_s->conf->max_num_sta;
os_memcpy(cfg->ssid, ssid->ssid, ssid->ssid_len);
cfg->ssid_len = ssid->ssid_len;
+ cfg->freq = ssid->frequency;
cfg->cb_ctx = wpa_s;
cfg->ie_update = wpas_p2p_ie_update;
cfg->idle_update = wpas_p2p_idle_update;