From 64dfc3163a4d28c3b9ad45efeed69200f85f1d51 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sun, 10 Jul 2005 09:15:43 +0000 Subject: [PATCH] hcidump: Also accept "system" device string --- tools/hcidump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/hcidump.c b/tools/hcidump.c index f966c366d..9f7f866e3 100644 --- a/tools/hcidump.c +++ b/tools/hcidump.c @@ -684,7 +684,7 @@ int main(int argc, char *argv[]) while ((opt=getopt_long(argc, argv, "i:l:p:m:w:r:s:n:taxXRC:H:O:BVZh", main_options, NULL)) != -1) { switch(opt) { case 'i': - if (strcasecmp(optarg, "none")) + if (strcasecmp(optarg, "none") && strcasecmp(optarg, "system")) device = atoi(optarg + 3); else device = HCI_DEV_NONE; -- 2.47.3