format
diff --git a/apps/bench.py b/apps/bench.py
index 4832088..b0558b1 100644
--- a/apps/bench.py
+++ b/apps/bench.py
@@ -1110,9 +1110,11 @@
# Stop being discoverable and connectable
if self.classic:
+
async def stop_being_discoverable_connectable():
await self.device.set_discoverable(False)
await self.device.set_connectable(False)
+
AsyncRunner.spawn(stop_being_discoverable_connectable())
# Request a new data length if needed
diff --git a/bumble/host.py b/bumble/host.py
index 052a2c7..893346d 100644
--- a/bumble/host.py
+++ b/bumble/host.py
@@ -327,10 +327,7 @@
f'hc_total_num_le_acl_data_packets={hc_total_num_le_acl_data_packets}'
)
- if (
- hc_le_acl_data_packet_length == 0
- or hc_total_num_le_acl_data_packets == 0
- ):
+ if hc_le_acl_data_packet_length == 0 or hc_total_num_le_acl_data_packets == 0:
# LE and Classic share the same queue
self.le_acl_packet_queue = self.acl_packet_queue
else: