Diff between c6aba8e396c6e69ede1b560e26d073f745810863 and 64dfc3163a4d28c3b9ad45efeed69200f85f1d51
Changed Files
| File | Additions | Deletions | Status |
| tools/hcidump.c | +1 | -1 | modified |
Full Patch
diff --git a/tools/hcidump.c b/tools/hcidump.c
index f966c36..9f7f866 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;