diff options
author | DoHyun Pyun <dh79.pyun@samsung.com> | 2016-10-16 22:57:51 -0700 |
---|---|---|
committer | Gerrit Code Review <gerrit@review.vlan103.tizen.org> | 2016-10-16 22:57:51 -0700 |
commit | 321ee37c89e47af4e8e5eed9b59af6593fa5d2de (patch) | |
tree | aa93aa556a6d04e8fa600099d929dac45db60cbd | |
parent | 483b1d77c917e45f115f46d41d72de4d4e672a03 (diff) | |
parent | a964a310b7ad0b2d289e32bb866715d4ffdd0d82 (diff) | |
download | bluez-321ee37c89e47af4e8e5eed9b59af6593fa5d2de.tar.gz bluez-321ee37c89e47af4e8e5eed9b59af6593fa5d2de.tar.bz2 bluez-321ee37c89e47af4e8e5eed9b59af6593fa5d2de.zip |
Merge "Check if the vendor command supports or not for HFP audio setting commands" into tizen
-rw-r--r-- | src/adapter.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/adapter.c b/src/adapter.c index defaa1c3..358de949 100644 --- a/src/adapter.c +++ b/src/adapter.c @@ -4065,6 +4065,11 @@ static DBusMessage *set_wbs_parameters(DBusConnection *conn, return btd_error_invalid_args(msg); } + if (adapter_le_read_ble_feature_info() == FALSE) { + error("Not support BCM vendor commands"); + return btd_error_not_supported(msg); + } + DBG("Role = %s", role); DBG("Address = %s", address); @@ -4107,6 +4112,11 @@ static DBusMessage *set_nb_parameters(DBusConnection *conn, return btd_error_invalid_args(msg); } + if (adapter_le_read_ble_feature_info() == FALSE) { + error("Not support BCM vendor commands"); + return btd_error_not_supported(msg); + } + DBG("Role = %s", role); DBG("Address = %s", address); |