Diff between 3abb6d368d14e944f06f58acb09dc5fddde969be and a2d6586eff6f09e9dadfb15a35585a8d3acf736a

Changed Files

File Additions Deletions Status
android/hidhost.c +0 -10 modified

Full Patch

diff --git a/android/hidhost.c b/android/hidhost.c
index c2a3dc4..3da77c8 100644
--- a/android/hidhost.c
+++ b/android/hidhost.c
@@ -899,11 +899,6 @@ static void bt_hid_get_protocol(const void *buf, uint16_t len)
 
 	dev = l->data;
 
-	if (dev->boot_dev) {
-		status = HAL_STATUS_UNSUPPORTED;
-		goto failed;
-	}
-
 	hdr = HID_MSG_GET_PROTOCOL | cmd->mode;
 	fd = g_io_channel_unix_get_fd(dev->ctrl_io);
 
@@ -954,11 +949,6 @@ static void bt_hid_set_protocol(const void *buf, uint16_t len)
 
 	dev = l->data;
 
-	if (dev->boot_dev) {
-		status = HAL_STATUS_UNSUPPORTED;
-		goto failed;
-	}
-
 	hdr = HID_MSG_SET_PROTOCOL | cmd->mode;
 	fd = g_io_channel_unix_get_fd(dev->ctrl_io);