--- android/hid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/hid.c b/android/hid.c index 2682b21e6..74de02f 100644 --- a/android/hid.c +++ b/android/hid.c @@ -200,7 +200,7 @@ static gboolean intr_io_watch_cb(GIOChannel *chan, gpointer data) } /* Discard non-data packets */ - if (bread == 0 || buf[0] != 0xA1) + if (bread == 0 || buf[0] != (HID_MSG_DATA | HID_DATA_TYPE_INPUT)) return TRUE; /* send data to uHID device skipping HIDP header byte */ -- 1.8.1.2 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html