Diff between 5381735e3bb79ee7459169c8ae548e40608bb9c5 and 542f1520df76259755f8379222d42a2b6a44dcdb
Changed Files
| File | Additions | Deletions | Status |
| monitor/btsnoop.c | +0 | -9 | modified |
Full Patch
diff --git a/monitor/btsnoop.c b/monitor/btsnoop.c
index 7b5eabe..e11a16c 100644
--- a/monitor/btsnoop.c
+++ b/monitor/btsnoop.c
@@ -74,15 +74,6 @@ void btsnoop_create(const char *path, uint32_t type)
if (btsnoop_fd >= 0)
return;
- switch (type) {
- case BTSNOOP_TYPE_HCI:
- case BTSNOOP_TYPE_EXTENDED_HCI:
- break;
-
- default:
- return;
- }
-
btsnoop_fd = open(path, O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC,
S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
if (btsnoop_fd < 0)