diff --git a/bumble/host.py b/bumble/host.py index ab0df662..fd0a2470 100644 --- a/bumble/host.py +++ b/bumble/host.py @@ -498,7 +498,7 @@ def controller(self) -> Optional[TransportSink]: def controller(self, controller) -> None: self.set_packet_sink(controller) if controller: - controller.set_packet_sink(self) + self.set_packet_source(controller) def set_packet_sink(self, sink: Optional[TransportSink]) -> None: self.hci_sink = sink diff --git a/docs/mkdocs/src/drivers/index.md b/docs/mkdocs/src/drivers/index.md index cb0a981e..aa5f0a17 100644 --- a/docs/mkdocs/src/drivers/index.md +++ b/docs/mkdocs/src/drivers/index.md @@ -10,7 +10,7 @@ used with particular HCI controller. When the transport for an HCI controller is instantiated from a transport name, a driver may also be forced by specifying ``driver=`` in the optional 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 USB vendor ID and product ID.