[PATCH 1/5] android/tester: Add missing AVRCP cb_table entries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



cb_table should be filled simultaneously with expected bt_callbacks
enum. Without this, debug logs can cause errors.
---
 android/tester-main.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/android/tester-main.c b/android/tester-main.c
index 33ef3ce..8f3bc3c 100644
--- a/android/tester-main.c
+++ b/android/tester-main.c
@@ -68,6 +68,14 @@ static struct {
 	DBG_CB(CB_A2DP_CONN_STATE),
 	DBG_CB(CB_A2DP_AUDIO_STATE),
 
+	/* AVRCP */
+	DBG_CB(CB_AVRCP_PLAY_STATUS_REQ),
+	DBG_CB(CB_AVRCP_PLAY_STATUS_RSP),
+	DBG_CB(CB_AVRCP_REG_NOTIF_REQ),
+	DBG_CB(CB_AVRCP_REG_NOTIF_RSP),
+	DBG_CB(CB_AVRCP_GET_ATTR_REQ),
+	DBG_CB(CB_AVRCP_GET_ATTR_RSP),
+
 	/* Gatt client */
 	DBG_CB(CB_GATTC_REGISTER_CLIENT),
 	DBG_CB(CB_GATTC_SCAN_RESULT),
-- 
1.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux