diff options
author | Szymon Janc <szymon.janc@tieto.com> | 2012-03-28 12:03:15 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-03-28 13:15:40 +0300 |
commit | 97b4ceb85cabb22a94422fc8b993da090a2b0574 (patch) | |
tree | 09c68b2f71723d7cfe98c9ccdb87b499e86d25b7 /src/manager.c | |
parent | 1ac88d03313b31aec630e221c479e3242781f19b (diff) |
Add support for setting VID source in DeviceID from config file
This allows to set if VID source is Bluetooth SIG or USB. Assigner is
provided as string {bluetooth,usb} and fallback to usb if none is set
in config.
Diffstat (limited to 'src/manager.c')
-rw-r--r-- | src/manager.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/manager.c b/src/manager.c index 3afc581a..62445163 100644 --- a/src/manager.c +++ b/src/manager.c @@ -415,7 +415,9 @@ struct btd_adapter *btd_manager_register_adapter(int id, gboolean up) if (main_opts.did_source) btd_adapter_set_did(adapter, main_opts.did_vendor, - main_opts.did_product, main_opts.did_version); + main_opts.did_product, + main_opts.did_version, + main_opts.did_source); DBG("Adapter %s registered", path); |