mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-16 08:44:38 +08:00
Allow binding of HAL driver to an adapter
This commit is contained in:
parent
533655873c
commit
1e997015ac
@ -94,12 +94,17 @@ static int hal_probe(struct btd_adapter *adapter)
|
||||
dbus_connection_unref(conn);
|
||||
#endif
|
||||
|
||||
return -ENODEV;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void hal_remove(struct btd_adapter *adapter)
|
||||
{
|
||||
}
|
||||
|
||||
static struct btd_adapter_driver hal_driver = {
|
||||
.name = "hal",
|
||||
.probe = hal_probe,
|
||||
.remove = hal_remove,
|
||||
};
|
||||
|
||||
static int hal_init(void)
|
||||
|
Loading…
Reference in New Issue
Block a user