aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/ap.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2013-03-21 13:52:41 (GMT)
committerJouni Malinen <j@w1.fi>2013-03-21 13:52:41 (GMT)
commit18a2eaabe3884fb253b13d1ad39fcdd6c87f4be7 (patch)
tree2a1e1bd0c5edfb117384e5d4ccf11244c556e867 /wpa_supplicant/ap.c
parentb084df8b812c43ab9732323df3c8189aa27f0f5c (diff)
downloadhostap-18a2eaabe3884fb253b13d1ad39fcdd6c87f4be7.zip
hostap-18a2eaabe3884fb253b13d1ad39fcdd6c87f4be7.tar.gz
hostap-18a2eaabe3884fb253b13d1ad39fcdd6c87f4be7.tar.bz2
Add ap_vendor_elements for wpa_supplicant AP/P2P GO mode
This new parameter allows wpa_supplicant AP mode operations to use similar design to the vendor_elements parameter in hostapd to add vendor_elements into Beacon/Probe Response IE parameters. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/ap.c')
-rw-r--r--wpa_supplicant/ap.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/wpa_supplicant/ap.c b/wpa_supplicant/ap.c
index 720ff7b..8a996f9 100644
--- a/wpa_supplicant/ap.c
+++ b/wpa_supplicant/ap.c
@@ -305,6 +305,11 @@ no_wps:
bss->disassoc_low_ack = wpa_s->conf->disassoc_low_ack;
+ if (wpa_s->conf->ap_vendor_elements) {
+ bss->vendor_elements =
+ wpabuf_dup(wpa_s->conf->ap_vendor_elements);
+ }
+
return 0;
}