Diff between 57a43ed48e2603de3951ad3d8310d4062b06ebf3 and 3af320e60dfcd5bf2ec35c2b3bc0fb9a66788bae

Changed Files

File Additions Deletions Status
emulator/main.c +5 -1 modified

Full Patch

diff --git a/emulator/main.c b/emulator/main.c
index fdc43ab..f47faa2 100644
--- a/emulator/main.c
+++ b/emulator/main.c
@@ -54,6 +54,7 @@ static void usage(void)
 		"\t-l [num]              Number of local controllers\n"
 		"\t-L                    Create LE only controller\n"
 		"\t-B                    Create BR/EDR only controller\n"
+		"\t-A                    Create AMP controller\n"
 		"\t-h, --help            Show help options\n");
 }
 
@@ -82,7 +83,7 @@ int main(int argc, char *argv[])
 	for (;;) {
 		int opt;
 
-		opt = getopt_long(argc, argv, "l::LBvh", main_options, NULL);
+		opt = getopt_long(argc, argv, "l::LBAvh", main_options, NULL);
 		if (opt < 0)
 			break;
 
@@ -99,6 +100,9 @@ int main(int argc, char *argv[])
 		case 'B':
 			vhci_type = VHCI_TYPE_BREDR;
 			break;
+		case 'A':
+			vhci_type = VHCI_TYPE_AMP;
+			break;
 		case 'v':
 			printf("%s\n", VERSION);
 			return EXIT_SUCCESS;