summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2020-10-28 14:50:00 -0700
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2020-10-29 10:27:37 -0700
commit01d035d33886b13cd6dc361f994ce22ad47daf61 (patch)
treefed6bff733a16c81499125502066177daa13f980 /plugins
parent8c6373667aebae94722eb1960434231528b51f3f (diff)
downloadbluez-01d035d33886b13cd6dc361f994ce22ad47daf61.tar.gz
core: Rename main_opts to btd_opts
Use btd_ prefix since this is a daemon API.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/neard.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/neard.c b/plugins/neard.c
index ff5de11f4..091b39333 100644
--- a/plugins/neard.c
+++ b/plugins/neard.c
@@ -220,9 +220,9 @@ static DBusMessage *create_request_oob_reply(struct btd_adapter *adapter,
len = eir_create_oob(btd_adapter_get_address(adapter),
btd_adapter_get_name(adapter),
btd_adapter_get_class(adapter), hash,
- randomizer, main_opts.did_vendor,
- main_opts.did_product, main_opts.did_version,
- main_opts.did_source,
+ randomizer, btd_opts.did_vendor,
+ btd_opts.did_product, btd_opts.did_version,
+ btd_opts.did_source,
btd_adapter_get_services(adapter), eir);
reply = dbus_message_new_method_return(msg);