Diff between 26ba19064dd40adb4359587cd3cff2479883ad48 and 5eaf3a88f34de10c5756375cb0efaa8ff81eea74

Changed Files

File Additions Deletions Status
android/adapter.c +1 -1 modified

Full Patch

diff --git a/android/adapter.c b/android/adapter.c
index a3f9aa6..7baf356 100644
--- a/android/adapter.c
+++ b/android/adapter.c
@@ -943,7 +943,7 @@ void bt_adapter_handle_cmd(GIOChannel *io, uint8_t opcode, void *buf,
 		break;
 	case HAL_OP_SET_ADAPTER_PROP:
 		status = set_property(buf, len);
-		if (status != HAL_STATUS_SUCCESS)
+		if (status != HAL_STATUS_SUCCESS && status != HAL_STATUS_DONE)
 			goto error;
 
 		break;