summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2023-05-16 10:12:19 -0700
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2023-05-16 10:36:20 -0700
commit943be6271d77ff7847ead05c0f7ade5565073979 (patch)
treee3799bac83d2bca4fefece4b7fcfc6fd27911f6e
parent28917a3c7a4ec1078e5cb4adf2652e36f65f6034 (diff)
downloadbluez-943be6271d77ff7847ead05c0f7ade5565073979.tar.gz
admin: Mark driver as experimental
This uses the btd_profile.experimental to mark the driver as experimental.
-rw-r--r--plugins/admin.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/plugins/admin.c b/plugins/admin.c
index 0787e8381..68e9237d3 100644
--- a/plugins/admin.c
+++ b/plugins/admin.c
@@ -618,13 +618,12 @@ static struct btd_adapter_driver admin_policy_driver = {
.resume = NULL,
.remove = admin_policy_remove,
.device_resolved = admin_policy_device_added,
- .device_removed = admin_policy_device_removed
+ .device_removed = admin_policy_device_removed,
+ .experimental = true,
};
static int admin_init(void)
{
- DBG("");
-
dbus_conn = btd_get_dbus_connection();
return btd_register_adapter_driver(&admin_policy_driver);
@@ -632,8 +631,6 @@ static int admin_init(void)
static void admin_exit(void)
{
- DBG("");
-
btd_unregister_adapter_driver(&admin_policy_driver);
}