Add avtest support for sending GET_CAPABILITIES
diff --git a/test/avtest.c b/test/avtest.c
index d3e3655..d202c4f 100644
--- a/test/avtest.c
+++ b/test/avtest.c
@@ -294,6 +294,13 @@
 		hdr->signal_id = AVDTP_DISCOVER;
 		len = write(sk, buf, 2);
 		break;
+	case AVDTP_GET_CAPABILITIES:
+		hdr->message_type = AVDTP_MSG_TYPE_COMMAND;
+		hdr->packet_type = AVDTP_PKT_TYPE_SINGLE;
+		hdr->signal_id = AVDTP_GET_CAPABILITIES;
+		buf[2] = 1 << 2; /* SEID 1 */
+		len = write(sk, buf, invalid ? 2 : 3);
+		break;
 	}
 
 	len = read(sk, buf, sizeof(buf));