libbt-vendor: Include hci_layer_legacy header instead
authorNolen Johnson <johnsonnolen@gmail.com>
Fri, 30 Dec 2022 19:31:02 +0000 (14:31 -0500)
committerNolen Johnson <johnsonnolen@gmail.com>
Fri, 30 Dec 2022 19:31:02 +0000 (14:31 -0500)
* https://review.lineageos.org/c/LineageOS/android_packages_modules_Bluetooth/+/345888

Change-Id: Ia26f16e340f505e7776aef2b3b8388afd38faa37

rtkbt/code/libbt-vendor/src/hci_h5.c
rtkbt/code/libbt-vendor/src/rtk_btsnoop_net.c
rtkbt/code/libbt-vendor/src/userial_vendor.c

index 938088a6d581244bc74aa6b7df10a65004a6ee86..fc59163a259d5e91201e61eab9499439416520bd 100755 (executable)
@@ -48,7 +48,7 @@
 #include <arpa/inet.h>
 #include <string.h>
 #include <linux/wait.h>
-#include <hci_layer.h>
+#include <hci_layer_legacy.h>
 
 #include "hci_h5_int.h"
 #include "bt_skbuff.h"
index 960533495fa94934cd94ad4a1724a5b9a91b69aa..27edcd7dad155c11b175fb0c0853d4368d75b18d 100755 (executable)
@@ -18,7 +18,7 @@
 #define LOG_TAG "rtk_btsnoop_net"
 #include "rtk_btsnoop_net.h"
 #include <unistd.h>
-#include <hci_layer.h>
+#include <hci_layer_legacy.h>
 
 #define RTK_NO_INTR(fn)  do {} while ((fn) == -1 && errno == EINTR)
 
index 0909ef653049d2ba8ed70a1fcd746a21b746b925..16cbe9966ca38ff6a33f66f24ea666c7dc8e71f8 100755 (executable)
@@ -36,7 +36,7 @@
 #include "userial_vendor.h"
 #include "rtk_socket.h"
 #include <cutils/sockets.h>
-#include <hci_layer.h>
+#include <hci_layer_legacy.h>
 
 
 #ifdef CONFIG_SCO_OVER_HCI