diff options
author | Rajkumar Manoharan <rmanohar@qca.qualcomm.com> | 2012-08-15 22:53:01 +0300 |
---|---|---|
committer | Arik Nemtsov <arik@wizery.com> | 2012-09-04 16:00:29 +0300 |
commit | 989a796c078f377f1640e42e6c7957effc3c24e2 (patch) | |
tree | 3ad9089e318b81c53f209823e500fcc2970a9699 /wpa_supplicant/dbus | |
parent | 6fe0d966c3d1f388e897ebd62c7c94c770890b4f (diff) | |
download | external_wpa_supplicant_8_ti-989a796c078f377f1640e42e6c7957effc3c24e2.zip external_wpa_supplicant_8_ti-989a796c078f377f1640e42e6c7957effc3c24e2.tar.gz external_wpa_supplicant_8_ti-989a796c078f377f1640e42e6c7957effc3c24e2.tar.bz2 |
P2P: Enable 40 MHz support for autonomous P2P group addition
Add optional "ht40" argument for p2p_group_add command to enable 40 MHz
in 5GHz band. This configures the secondary channel, when HT support is
enabled and if the HW supports 40 MHz channel width.
Signed-hostap: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/dbus')
-rw-r--r-- | wpa_supplicant/dbus/dbus_new_handlers_p2p.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wpa_supplicant/dbus/dbus_new_handlers_p2p.c b/wpa_supplicant/dbus/dbus_new_handlers_p2p.c index f4541f7..6599e8a 100644 --- a/wpa_supplicant/dbus/dbus_new_handlers_p2p.c +++ b/wpa_supplicant/dbus/dbus_new_handlers_p2p.c @@ -346,13 +346,13 @@ DBusMessage * wpas_dbus_handler_p2p_group_add(DBusMessage *message, if (ssid == NULL || ssid->disabled != 2) goto inv_args; - if (wpas_p2p_group_add_persistent(wpa_s, ssid, 0, freq)) { + if (wpas_p2p_group_add_persistent(wpa_s, ssid, 0, freq, 0)) { reply = wpas_dbus_error_unknown_error( message, "Failed to reinvoke a persistent group"); goto out; } - } else if (wpas_p2p_group_add(wpa_s, persistent_group, freq)) + } else if (wpas_p2p_group_add(wpa_s, persistent_group, freq, 0)) goto inv_args; out: |