Diff between 22d154346b9665721441bd6908bab66c18f436fe and 24f7199b8811fb85da7c64317678626d45ebde4c
Changed Files
| File | Additions | Deletions | Status |
| android/hidhost.c | +1 | -1 | modified |
Full Patch
diff --git a/android/hidhost.c b/android/hidhost.c
index 729b884..a2b820f 100644
--- a/android/hidhost.c
+++ b/android/hidhost.c
@@ -891,7 +891,7 @@ static void bt_hid_connect(const void *buf, uint16_t len)
ba2str(&dev->dst, addr);
DBG("connecting to %s", addr);
- if (bt_is_device_le(&dst)) {
+ if (bt_device_last_seen_bearer(&dev->dst) != BDADDR_BREDR) {
if (!hog_connect(dev)) {
status = HAL_STATUS_FAILED;
hid_device_remove(dev);