summaryrefslogtreecommitdiff
path: root/android/avctp.c
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2014-04-29 13:17:25 +0200
committerSzymon Janc <szymon.janc@tieto.com>2014-04-29 13:31:00 +0200
commit7a2d60467334cd299e89a42717efc94bbbad85f9 (patch)
tree70b43f1379b05019ea2ac0b8eeba9e9b1618a6e8 /android/avctp.c
parentfc8ac15d63be9e2404ab5835230b7c446c81f75f (diff)
downloadbluez-7a2d60467334cd299e89a42717efc94bbbad85f9.tar.gz
android: Make multi-line comments style consistent
Use common style for multi-line comments consistent with rest of codebase.
Diffstat (limited to 'android/avctp.c')
-rw-r--r--android/avctp.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/android/avctp.c b/android/avctp.c
index 7098fc25e..be3fed19a 100644
--- a/android/avctp.c
+++ b/android/avctp.c
@@ -49,7 +49,8 @@
#include "avctp.h"
-/* AV/C Panel 1.23, page 76:
+/*
+ * AV/C Panel 1.23, page 76:
* command with the pressed value is valid for two seconds
*/
#define AVC_PRESS_TIMEOUT 2
@@ -416,10 +417,12 @@ static ssize_t handle_unit_info(struct avctp *session,
*code = AVC_CTYPE_STABLE;
- /* The first operand should be 0x07 for the UNITINFO response.
+ /*
+ * The first operand should be 0x07 for the UNITINFO response.
* Neither AVRCP (section 22.1, page 117) nor AVC Digital
* Interface Command Set (section 9.2.1, page 45) specs
- * explain this value but both use it */
+ * explain this value but both use it
+ */
if (operand_count >= 1)
operands[0] = 0x07;
if (operand_count >= 2)
@@ -442,10 +445,12 @@ static ssize_t handle_subunit_info(struct avctp *session,
*code = AVC_CTYPE_STABLE;
- /* The first operand should be 0x07 for the UNITINFO response.
+ /*
+ * The first operand should be 0x07 for the UNITINFO response.
* Neither AVRCP (section 22.1, page 117) nor AVC Digital
* Interface Command Set (section 9.2.1, page 45) specs
- * explain this value but both use it */
+ * explain this value but both use it
+ */
if (operand_count >= 2)
operands[1] = AVC_SUBUNIT_PANEL << 3;