Diff between 927711c0af7a27205fbd917b56ef9fcafff031f8 and b51effb9bcd755c4114818ca490cf34d120b2639
Changed Files
| File | Additions | Deletions | Status |
| android/bluetooth.c | +5 | -1 | modified |
Full Patch
diff --git a/android/bluetooth.c b/android/bluetooth.c
index 51a31fe..c3ad5ce 100644
--- a/android/bluetooth.c
+++ b/android/bluetooth.c
@@ -3265,7 +3265,11 @@ static void load_devices_info(bt_bluetooth_ready cb)
load_irks(irks);
g_slist_free_full(irks, g_free);
- load_link_keys(keys, cb);
+ if (adapter.supported_settings & MGMT_SETTING_BREDR)
+ load_link_keys(keys, cb);
+ else
+ cb(0, &adapter.bdaddr);
+
g_slist_free_full(keys, g_free);
g_strfreev(devs);