diff --git a/android/bluetooth.c b/android/bluetooth.c
index 2a75a22..cacacb6 100644
--- a/android/bluetooth.c
+++ b/android/bluetooth.c
break;
}
- if (status != HAL_STATUS_SUCCESS && status != HAL_STATUS_DONE)
+ if (status != HAL_STATUS_SUCCESS)
error("Failed to get adapter property (type %u status %u)",
cmd->type, status);
break;
}
- if (status != HAL_STATUS_SUCCESS && status != HAL_STATUS_DONE)
+ if (status != HAL_STATUS_SUCCESS)
error("Failed to set adapter property (type %u status %u)",
cmd->type, status);
break;
}
- if (status != HAL_STATUS_SUCCESS && status != HAL_STATUS_DONE)
+ if (status != HAL_STATUS_SUCCESS)
error("Failed to get device property (type %u status %u)",
cmd->type, status);
break;
}
- if (status != HAL_STATUS_SUCCESS && status != HAL_STATUS_DONE)
+ if (status != HAL_STATUS_SUCCESS)
error("Failed to set device property (type %u status %u)",
cmd->type, status);