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

Commit 54df65f6 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

Change-Id: I9036068c749c5d35b3605a68db0f79293a3d9c37
parents 88e7b567 6611fb25
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 */