fix legacy pairing with oob

This commit is contained in:
Gilles Boccon-Gibod
2025-06-23 07:05:21 +02:00
parent ebaa720e74
commit 1a05eebfdb
2 changed files with 20 additions and 10 deletions

View File

@@ -762,7 +762,9 @@ class Session:
# OOB
self.oob_data_flag = (
1 if pairing_config.oob and pairing_config.oob.peer_data else 0
1
if pairing_config.oob and (not self.sc or pairing_config.oob.peer_data)
else 0
)
# Set up addresses