From 1c3b4eabd03305791aa5737f79979dc0a2e57028 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Wed, 8 Jan 2014 17:46:27 +0200 Subject: [PATCH] emulator: Add missing PIN Code Request Reply bit to supported commands --- emulator/btdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/emulator/btdev.c b/emulator/btdev.c index 5fceace55..4eed55f4a 100644 --- a/emulator/btdev.c +++ b/emulator/btdev.c @@ -279,6 +279,7 @@ static void set_bredr_commands(struct btdev *btdev) btdev->commands[1] |= 0x02; /* Reject Connection Request */ btdev->commands[1] |= 0x04; /* Link Key Request Reply */ btdev->commands[1] |= 0x08; /* Link Key Request Negative Reply */ + btdev->commands[1] |= 0x10; /* PIN Code Request Reply */ btdev->commands[1] |= 0x20; /* PIN Code Request Negative Reply */ btdev->commands[1] |= 0x80; /* Authentication Requested */ btdev->commands[2] |= 0x08; /* Remote Name Request */ -- 2.47.3