Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-bluetooth-bluez: Commit

external/bluetooth/bluez


Commit MetaInfo

Revisión9c984105900b298e75f6bb105aef8dea9bd0f110 (tree)
Tiempo2016-08-06 19:23:23
AutorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

android: fix a build break

It's seems a typo introduced by the previous commit 10342fe.

Also fixes incorrect indents.

Cambiar Resumen

Diferencia incremental

--- a/android/hal-a2dp-sink.c
+++ b/android/hal-a2dp-sink.c
@@ -104,7 +104,7 @@ static bt_status_t disconnect(bt_bdaddr_t *bd_addr)
104104 static bt_status_t init(btav_callbacks_t *callbacks,
105105 int max_a2dp_connections, int a2dp_multicast_state)
106106 #else
107-static bt_status_t init(btrc_callbacks_t *callbacks)
107+static bt_status_t init(btav_callbacks_t *callbacks)
108108 #endif
109109 {
110110 struct hal_cmd_register_module cmd;
--- a/android/hal-avrcp.c
+++ b/android/hal-avrcp.c
@@ -327,8 +327,8 @@ static bt_status_t list_player_app_attr_rsp(int num_attr,
327327 if (num_attr < 1)
328328 return BT_STATUS_PARM_INVALID;
329329 #else
330- if (num_attr < 0)
331- return BT_STATUS_PARM_INVALID;
330+ if (num_attr < 0)
331+ return BT_STATUS_PARM_INVALID;
332332 #endif
333333
334334 len = sizeof(*cmd) + num_attr;
@@ -363,8 +363,8 @@ static bt_status_t list_player_app_value_rsp(int num_val, uint8_t *p_vals)
363363 if (num_val < 1)
364364 return BT_STATUS_PARM_INVALID;
365365 #else
366- if (num_val < 0)
367- return BT_STATUS_PARM_INVALID;
366+ if (num_val < 0)
367+ return BT_STATUS_PARM_INVALID;
368368 #endif
369369
370370 len = sizeof(*cmd) + num_val;
Show on old repository browser