diff options
author | Szymon Janc <szymon.janc@tieto.com> | 2013-11-28 15:15:22 +0100 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2013-11-28 18:02:26 +0200 |
commit | 6456e156640bd663da8802ad6ed75d670ef98098 (patch) | |
tree | a445cf081abe9e3a16f52d0e87e60d20660085dd /android/ipc.c | |
parent | 4f1d080aa7510111c1d5f795d3ce4b369568fee6 (diff) | |
download | bluez-6456e156640bd663da8802ad6ed75d670ef98098.tar.gz |
android: Remove socket parameter from ipc_send_rsp
Use command socket provided to IPC on init.
Diffstat (limited to 'android/ipc.c')
-rw-r--r-- | android/ipc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/android/ipc.c b/android/ipc.c index 028d4ad4f..51734e359 100644 --- a/android/ipc.c +++ b/android/ipc.c @@ -96,16 +96,16 @@ void ipc_send(int sk, uint8_t service_id, uint8_t opcode, uint16_t len, } } -void ipc_send_rsp(int sk, uint8_t service_id, uint8_t opcode, uint8_t status) +void ipc_send_rsp(uint8_t service_id, uint8_t opcode, uint8_t status) { struct hal_status s; if (status == HAL_STATUS_SUCCESS) { - ipc_send(sk, service_id, opcode, 0, NULL, -1); + ipc_send(cmd_sk, service_id, opcode, 0, NULL, -1); return; } s.code = status; - ipc_send(sk, service_id, HAL_OP_STATUS, sizeof(s), &s, -1); + ipc_send(cmd_sk, service_id, HAL_OP_STATUS, sizeof(s), &s, -1); } |