Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 820ad0ec authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "btsnoop: Fix TRUE is undefined for btsnoop socket"

parents 06b434cf 2920bd64
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@ static int listen_socket_ = -1;
static int client_socket_ = -1;

void btsnoop_net_open() {
#if (BT_NET_DEBUG != TRUE)
#if (BT_NET_DEBUG != true)
  return;  // Disable using network sockets for security reasons
#endif

@@ -61,7 +61,7 @@ void btsnoop_net_open() {
}

void btsnoop_net_close() {
#if (BT_NET_DEBUG != TRUE)
#if (BT_NET_DEBUG != true)
  return;  // Disable using network sockets for security reasons
#endif

@@ -74,7 +74,7 @@ void btsnoop_net_close() {
}

void btsnoop_net_write(const void* data, size_t length) {
#if (BT_NET_DEBUG != TRUE)
#if (BT_NET_DEBUG != true)
  return;  // Disable using network sockets for security reasons
#endif

+2 −2
Original line number Diff line number Diff line
@@ -66,7 +66,7 @@ static thread_t* thread;
static list_t* clients;

static bool hci_inject_open(const hci_t* hci_interface) {
#if (BT_NET_DEBUG != TRUE)
#if (BT_NET_DEBUG != true)
  return true;  // Disable using network sockets for security reasons
#endif

@@ -98,7 +98,7 @@ error:;
}

static void hci_inject_close(void) {
#if (BT_NET_DEBUG != TRUE)
#if (BT_NET_DEBUG != true)
  return;  // Disable using network sockets for security reasons
#endif