Diff between 85e557ff6797ad78c466e9d7e31fc7df212175a9 and 9d89bb121bfaf0198ebff724e28f946789d88e04
Changed Files
| File | Additions | Deletions | Status |
| android/main.c | +2 | -2 | modified |
Full Patch
diff --git a/android/main.c b/android/main.c
index 7d36976..7ee47fc 100644
--- a/android/main.c
+++ b/android/main.c
@@ -608,8 +608,8 @@ static void read_version_complete(uint8_t status, uint16_t length,
info("Bluetooth management interface %u.%u initialized",
mgmt_version, mgmt_revision);
- if (mgmt_version < 1) {
- error("Version 1.0 or later of management interface required");
+ if (MGMT_VERSION(mgmt_version, mgmt_revision) < MGMT_VERSION(1, 3)) {
+ error("Version 1.3 or later of management interface required");
return;
}