Diff between fc516c2c7f22eb28ad41bded4d53d746677d4589 and ff3127350168d79e68ffd363dbc0e6fbfe40f04b

Changed Files

File Additions Deletions Status
android/hal-sco.c +1 -2 modified

Full Patch

diff --git a/android/hal-sco.c b/android/hal-sco.c
index 0e87aad..55e58b5 100644
--- a/android/hal-sco.c
+++ b/android/hal-sco.c
@@ -265,8 +265,7 @@ static int sco_ipc_cmd(uint8_t service_id, uint8_t opcode, uint16_t len,
 			goto failed;
 	}
 
-	if (rsp_len)
-		*rsp_len = cmd.len;
+	*rsp_len = cmd.len;
 
 	return SCO_STATUS_SUCCESS;