Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 754ae2ae authored by Hemant Gupta's avatar Hemant Gupta Committed by android-build-merger
Browse files

HID: Update condition for checking LE HID handle validity am: 6611fb25

am: 54df65f6

Change-Id: I4273bb0a48aa5de0d82287f8d2aadfeb28276743
parents e07891dd 54df65f6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -211,7 +211,7 @@ typedef struct {
#define BTA_HH_GET_LE_DEV_HDL(x) (uint8_t)(((x) + 1) << 4)
/* check to see if th edevice handle is a LE device handle */
#define BTA_HH_IS_LE_DEV_HDL(x) ((x)&0xf0)
#define BTA_HH_IS_LE_DEV_HDL_VALID(x) (((x) >> 4) <= BTA_HH_LE_MAX_KNOWN)
#define BTA_HH_IS_LE_DEV_HDL_VALID(x) (((x) >> 4) <= BTA_HH_MAX_DEVICE)
#endif

/* device control block */