emulator: Add missing PIN Code Request Reply bit to supported commands

This commit is contained in:
Johan Hedberg 2014-01-08 17:46:27 +02:00
parent a176ce6ce7
commit 1c3b4eabd0

View File

@ -279,6 +279,7 @@ static void set_bredr_commands(struct btdev *btdev)
btdev->commands[1] |= 0x02; /* Reject Connection Request */ btdev->commands[1] |= 0x02; /* Reject Connection Request */
btdev->commands[1] |= 0x04; /* Link Key Request Reply */ btdev->commands[1] |= 0x04; /* Link Key Request Reply */
btdev->commands[1] |= 0x08; /* Link Key Request Negative 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] |= 0x20; /* PIN Code Request Negative Reply */
btdev->commands[1] |= 0x80; /* Authentication Requested */ btdev->commands[1] |= 0x80; /* Authentication Requested */
btdev->commands[2] |= 0x08; /* Remote Name Request */ btdev->commands[2] |= 0x08; /* Remote Name Request */