Add avtest support for responding to AVDTP_SUSPEND
diff --git a/test/avtest.c b/test/avtest.c
index 55fd27f..50c8995 100644
--- a/test/avtest.c
+++ b/test/avtest.c
@@ -276,6 +276,19 @@
 			}
 			break;
 
+		case AVDTP_SUSPEND:
+			if (reject == AVDTP_SUSPEND) {
+				hdr->message_type = AVDTP_MSG_TYPE_REJECT;
+				buf[3] = 0x31; /* Bad State */
+				printf("Rejecting suspend command\n");
+				len = write(sk, buf, 4);
+			} else {
+				hdr->message_type = AVDTP_MSG_TYPE_ACCEPT;
+				printf("Accepting suspend command\n");
+				len = write(sk, buf, 2);
+			}
+			break;
+
 		default:
 			buf[1] = 0x00;
 			printf("Unknown command\n");