mirror of
https://github.com/google/bumble.git
synced 2026-07-19 15:00:48 +00:00
update metadata when setting the host controller directly
This commit is contained in:
+1
-1
@@ -498,7 +498,7 @@ class Host(AbortableEventEmitter):
|
|||||||
def controller(self, controller) -> None:
|
def controller(self, controller) -> None:
|
||||||
self.set_packet_sink(controller)
|
self.set_packet_sink(controller)
|
||||||
if controller:
|
if controller:
|
||||||
controller.set_packet_sink(self)
|
self.set_packet_source(controller)
|
||||||
|
|
||||||
def set_packet_sink(self, sink: Optional[TransportSink]) -> None:
|
def set_packet_sink(self, sink: Optional[TransportSink]) -> None:
|
||||||
self.hci_sink = sink
|
self.hci_sink = sink
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ used with particular HCI controller.
|
|||||||
When the transport for an HCI controller is instantiated from a transport name,
|
When the transport for an HCI controller is instantiated from a transport name,
|
||||||
a driver may also be forced by specifying ``driver=<driver-name>`` in the optional
|
a driver may also be forced by specifying ``driver=<driver-name>`` in the optional
|
||||||
metadata portion of the transport name. For example,
|
metadata portion of the transport name. For example,
|
||||||
``usb:[driver=-rtk]0`` indicates that the ``rtk`` driver should be used with the
|
``usb:[driver=rtk]0`` indicates that the ``rtk`` driver should be used with the
|
||||||
first USB device, even if a normal probe would not have selected it based on the
|
first USB device, even if a normal probe would not have selected it based on the
|
||||||
USB vendor ID and product ID.
|
USB vendor ID and product ID.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user