external/bluetooth/bluez
リビジョン | 9c984105900b298e75f6bb105aef8dea9bd0f110 (tree) |
---|---|
日時 | 2016-08-06 19:23:23 |
作者 | Chih-Wei Huang <cwhuang@linu...> |
コミッター | Chih-Wei Huang |
android: fix a build break
It's seems a typo introduced by the previous commit 10342fe.
Also fixes incorrect indents.
@@ -104,7 +104,7 @@ static bt_status_t disconnect(bt_bdaddr_t *bd_addr) | ||
104 | 104 | static bt_status_t init(btav_callbacks_t *callbacks, |
105 | 105 | int max_a2dp_connections, int a2dp_multicast_state) |
106 | 106 | #else |
107 | -static bt_status_t init(btrc_callbacks_t *callbacks) | |
107 | +static bt_status_t init(btav_callbacks_t *callbacks) | |
108 | 108 | #endif |
109 | 109 | { |
110 | 110 | struct hal_cmd_register_module cmd; |
@@ -327,8 +327,8 @@ static bt_status_t list_player_app_attr_rsp(int num_attr, | ||
327 | 327 | if (num_attr < 1) |
328 | 328 | return BT_STATUS_PARM_INVALID; |
329 | 329 | #else |
330 | - if (num_attr < 0) | |
331 | - return BT_STATUS_PARM_INVALID; | |
330 | + if (num_attr < 0) | |
331 | + return BT_STATUS_PARM_INVALID; | |
332 | 332 | #endif |
333 | 333 | |
334 | 334 | 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) | ||
363 | 363 | if (num_val < 1) |
364 | 364 | return BT_STATUS_PARM_INVALID; |
365 | 365 | #else |
366 | - if (num_val < 0) | |
367 | - return BT_STATUS_PARM_INVALID; | |
366 | + if (num_val < 0) | |
367 | + return BT_STATUS_PARM_INVALID; | |
368 | 368 | #endif |
369 | 369 | |
370 | 370 | len = sizeof(*cmd) + num_val; |