Diff between 2d7c9e3450bc11d8a1877d791fc4196116ed6d39 and c27f48e42685b1b917bf8570362891d996d3f886
Changed Files
| File | Additions | Deletions | Status |
| emulator/btdev.c | +1 | -1 | modified |
Full Patch
diff --git a/emulator/btdev.c b/emulator/btdev.c
index 041fe9f..d88c853 100644
--- a/emulator/btdev.c
+++ b/emulator/btdev.c
@@ -662,7 +662,7 @@ static void conn_request(struct btdev *btdev, const uint8_t *bdaddr)
struct btdev *remote = find_btdev_by_bdaddr(bdaddr);
if (remote) {
- if (remote->scan_enable & 0x01) {
+ if (remote->scan_enable & 0x02) {
struct bt_hci_evt_conn_request cr;
memcpy(cr.bdaddr, btdev->bdaddr, 6);