Skip to content

Commit

Permalink
update metadata when setting the host controller directly
Browse files Browse the repository at this point in the history
  • Loading branch information
barbibulle committed Mar 12, 2024
1 parent cbe9446 commit 7507be1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bumble/host.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/mkdocs/src/drivers/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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=<driver-name>`` 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.

Expand Down

0 comments on commit 7507be1

Please sign in to comment.