Skip to content

Commit

Permalink
update counter earlier in case of re-entrancy
Browse files Browse the repository at this point in the history
  • Loading branch information
barbibulle committed Sep 25, 2023
1 parent 99b7a54 commit f58fb83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bumble/host.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,8 +405,8 @@ def check_acl_packet_queue(self):
and self.acl_packets_in_flight < self.hc_total_num_le_acl_data_packets
):
packet = self.acl_packet_queue.pop()
self.send_hci_packet(packet)
self.acl_packets_in_flight += 1
self.send_hci_packet(packet)

def supports_command(self, command):
# Find the support flag position for this command
Expand Down

0 comments on commit f58fb83

Please sign in to comment.