summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/hci_lib.h2
-rw-r--r--src/hci.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/include/hci_lib.h b/include/hci_lib.h
index 31995411..6b7b6f63 100644
--- a/include/hci_lib.h
+++ b/include/hci_lib.h
@@ -84,6 +84,8 @@ int hci_authenticate_link(int dd, uint16_t handle, int to);
int hci_encrypt_link(int dd, uint16_t handle, int on, int to);
// role == 0 is master, 1 is slave
int hci_switch_role(int dd, bdaddr_t peer, int role, int to);
+int hci_park_mode(int dd, uint16_t handle, uint16_t max_interval, uint16_t min_interval, int to);
+int hci_exit_park_mode(int dd, uint16_t handle, int to);
int hci_for_each_dev(int flag, int(*func)(int s, int dev_id, long arg), long arg);
int hci_get_route(bdaddr_t *bdaddr);
diff --git a/src/hci.c b/src/hci.c
index 676b8af8..b01dec97 100644
--- a/src/hci.c
+++ b/src/hci.c
@@ -1150,7 +1150,7 @@ int hci_switch_role(int dd, bdaddr_t peer, int role, int to)
return 0;
}
-int hci_park_mode (int dd, uint16_t handle, uint16_t max_interval, uint16_t min_interval, int to)
+int hci_park_mode(int dd, uint16_t handle, uint16_t max_interval, uint16_t min_interval, int to)
{
park_mode_cp cp;
evt_mode_change rp;