Diff between 35a6c189c08bd9f8562fab92cdc294fea58a50cf and bdf0701768697b46429ddfdfb401edea4984db20
Changed Files
| File | Additions | Deletions | Status |
| android/hidhost.c | +1 | -3 | modified |
Full Patch
diff --git a/android/hidhost.c b/android/hidhost.c
index 476742e..652baa0 100644
--- a/android/hidhost.c
+++ b/android/hidhost.c
@@ -802,10 +802,8 @@ static void hog_conn_cb(const bdaddr_t *addr, int err, void *attrib)
goto fail;
}
- if (!dev) {
+ if (!dev)
dev = hid_device_new(addr);
- bt_hid_notify_state(dev, HAL_HIDHOST_STATE_CONNECTING);
- }
if (!dev->hog) {
/* TODO: Get device details and primary */