mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
@@ -33,7 +33,7 @@ diff --git a/Makefile.tools b/Makefile.tools
|
||||
index b7b422506..e0e995089 100644
|
||||
--- a/Makefile.tools
|
||||
+++ b/Makefile.tools
|
||||
@@ -304,6 +304,7 @@ tools_hciattach_SOURCES = tools/hciattach.c tools/hciattach.h \
|
||||
@@ -417,6 +417,7 @@ tools_hciattach_SOURCES = tools/hciattach.c tools/hciattach.h \
|
||||
tools/hciattach_ti.c \
|
||||
tools/hciattach_tialt.c \
|
||||
tools/hciattach_ath3k.c \
|
||||
@@ -45,7 +45,7 @@ diff --git a/android/Android.mk b/android/Android.mk
|
||||
index 76a826b47..01599c04b 100644
|
||||
--- a/android/Android.mk
|
||||
+++ b/android/Android.mk
|
||||
@@ -696,6 +696,7 @@ LOCAL_SRC_FILES := \
|
||||
@@ -697,6 +697,7 @@ LOCAL_SRC_FILES := \
|
||||
bluez/tools/hciattach_ti.c \
|
||||
bluez/tools/hciattach_tialt.c \
|
||||
bluez/tools/hciattach_ath3k.c \
|
||||
@@ -57,7 +57,7 @@ diff --git a/tools/hciattach.c b/tools/hciattach.c
|
||||
index fad176c9b..02a65c692 100644
|
||||
--- a/tools/hciattach.c
|
||||
+++ b/tools/hciattach.c
|
||||
@@ -263,6 +263,11 @@ static int ath3k_pm(int fd, struct uart_t *u, struct termios *ti)
|
||||
@@ -252,6 +252,11 @@ static int ath3k_pm(int fd, struct uart_t *u, struct termios *ti)
|
||||
return ath3k_post(fd, u->pm);
|
||||
}
|
||||
|
||||
@@ -69,7 +69,7 @@ index fad176c9b..02a65c692 100644
|
||||
static int qualcomm(int fd, struct uart_t *u, struct termios *ti)
|
||||
{
|
||||
return qualcomm_init(fd, u->speed, ti, u->bdaddr);
|
||||
@@ -1093,6 +1098,10 @@ struct uart_t uart[] = {
|
||||
@@ -1082,6 +1087,10 @@ struct uart_t uart[] = {
|
||||
{ "ath3k", 0x0000, 0x0000, HCI_UART_ATH3K, 115200, 115200,
|
||||
FLOW_CTL, DISABLE_PM, NULL, ath3k_ps, ath3k_pm },
|
||||
|
||||
@@ -80,7 +80,7 @@ index fad176c9b..02a65c692 100644
|
||||
/* QUALCOMM BTS */
|
||||
{ "qualcomm", 0x0000, 0x0000, HCI_UART_H4, 115200, 115200,
|
||||
FLOW_CTL, DISABLE_PM, NULL, qualcomm, NULL },
|
||||
@@ -1145,6 +1154,9 @@ static int init_uart(char *dev, struct uart_t *u, int send_break, int raw)
|
||||
@@ -1134,6 +1143,9 @@ static int init_uart(char *dev, struct uart_t *u, int send_break, int raw)
|
||||
if (u->flags & AMP_DEV)
|
||||
flags |= 1 << HCI_UART_CREATE_AMP;
|
||||
|
||||
@@ -94,7 +94,7 @@ diff --git a/tools/hciattach.h b/tools/hciattach.h
|
||||
index 249aab49e..85c801ccf 100644
|
||||
--- a/tools/hciattach.h
|
||||
+++ b/tools/hciattach.h
|
||||
@@ -65,6 +65,7 @@ int bgb2xx_init(int dd, bdaddr_t *bdaddr);
|
||||
@@ -56,6 +56,7 @@ int bgb2xx_init(int dd, bdaddr_t *bdaddr);
|
||||
int ath3k_init(int fd, int speed, int init_speed, char *bdaddr,
|
||||
struct termios *ti);
|
||||
int ath3k_post(int fd, int pm);
|
||||
|
||||
Reference in New Issue
Block a user