Skip to content

Commit

Permalink
Merge pull request #44 from google/tavip/fix-address-resolution
Browse files Browse the repository at this point in the history
Fix address resolution handling
  • Loading branch information
tavip authored Oct 12, 2022
2 parents 78b36d2 + b4de38c commit 4d96b82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bumble/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -857,9 +857,9 @@ def on_hci_le_set_address_resolution_enable_command(self, command):
See Bluetooth spec Vol 2, Part E - 7.8.44 LE Set Address Resolution Enable Command
'''
ret = HCI_SUCCESS
if command.address_resolution == 1:
if command.address_resolution_enable == 1:
self.le_address_resolution = True
elif command.address_resolution == 0:
elif command.address_resolution_enable == 0:
self.le_address_resolution = False
else:
ret = HCI_INVALID_HCI_COMMAND_PARAMETERS_ERROR
Expand Down

0 comments on commit 4d96b82

Please sign in to comment.