Bluetooth: fix out of bounds access

Pointed by clang.

Change-Id: If8f60619bd98027ae7bc0e7ecaa1c86db6bacf0e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2403
Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
X512
2020-03-24 03:09:55 +00:00
committed by waddlesplash
parent 39a7a69b07
commit 33378c1413
2 changed files with 3 additions and 3 deletions
@@ -9,7 +9,7 @@
#define BT_DRIVER_SUPPORTS_CMD 1 #define BT_DRIVER_SUPPORTS_CMD 1
#define BT_DRIVER_SUPPORTS_EVT 1 #define BT_DRIVER_SUPPORTS_EVT 1
#define BT_DRIVER_SUPPORTS_ACL 1 #define BT_DRIVER_SUPPORTS_ACL 1
#define BT_DRIVER_SUPPORTS_SCO 0 #define BT_DRIVER_SUPPORTS_SCO 1
#define BT_DRIVER_SUPPORTS_ESCO 0 #define BT_DRIVER_SUPPORTS_ESCO 0