Searched refs:hci_btsnoop_fd (Results 1 – 1 of 1) sorted by relevance
50 static int hci_btsnoop_fd = -1; variable68 if (hci_btsnoop_fd != -1) in btsnoop_write()69 write(hci_btsnoop_fd, data, length); in btsnoop_write()129 if (hci_btsnoop_fd != -1) { in btsnoop_open()142 hci_btsnoop_fd = open(p_path, in btsnoop_open()146 if (hci_btsnoop_fd == -1) { in btsnoop_open()151 write(hci_btsnoop_fd, "btsnoop\0\0\0\0\1\0\0\x3\xea", 16); in btsnoop_open()155 if (hci_btsnoop_fd != -1) in btsnoop_close()156 close(hci_btsnoop_fd); in btsnoop_close()157 hci_btsnoop_fd = -1; in btsnoop_close()[all …]