summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/adapter.c10
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);