Diff between 833b4dd623e0fda402ee8f4da8316ef31f5b96b1 and 22894ef078c1c29c65ae68bcfe0b6c588f31c0fd

Changed Files

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

Full Patch

diff --git a/android/hal-ipc.c b/android/hal-ipc.c
index 494ba85..363072c 100644
--- a/android/hal-ipc.c
+++ b/android/hal-ipc.c
@@ -462,8 +462,7 @@ int hal_ipc_cmd(uint8_t service_id, uint8_t opcode, uint16_t len, void *param,
 		}
 	}
 
-	if (rsp_len)
-		*rsp_len = cmd.len;
+	*rsp_len = cmd.len;
 
 	return BT_STATUS_SUCCESS;