Skip to content

Commit f58fb83

Browse files
committed
update counter earlier in case of re-entrancy
1 parent 99b7a54 commit f58fb83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bumble/host.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,8 +405,8 @@ def check_acl_packet_queue(self):
405405
and self.acl_packets_in_flight < self.hc_total_num_le_acl_data_packets
406406
):
407407
packet = self.acl_packet_queue.pop()
408-
self.send_hci_packet(packet)
409408
self.acl_packets_in_flight += 1
409+
self.send_hci_packet(packet)
410410

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

0 commit comments

Comments
 (0)