summaryrefslogtreecommitdiff
path: root/common/btle_hci_controller.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/btle_hci_controller.c')
-rw-r--r--common/btle_hci_controller.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/btle_hci_controller.c b/common/btle_hci_controller.c
index 72ffe26d63..7df66d4a82 100644
--- a/common/btle_hci_controller.c
+++ b/common/btle_hci_controller.c
@@ -431,7 +431,7 @@ static uint8_t hci_buf[200];
#define MAX_BLE_HCI_PARAMS 8
static uint32_t param[MAX_BLE_HCI_PARAMS];
-static int command_ble_hci_cmd(int argc, char **argv)
+static int command_ble_hci_cmd(int argc, const char **argv)
{
static struct hciCmdHdr header;
int length, opcode, i;
@@ -475,7 +475,7 @@ DECLARE_CONSOLE_COMMAND(ble_hci_cmd, command_ble_hci_cmd,
"opcode len uint32 uint32 uint32... (little endian)",
"Send an hci command of length len");
-static int command_hcitool(int argc, char **argv)
+static int command_hcitool(int argc, const char **argv)
{
static struct hciCmdHdr header;
int i, ogf, ocf;
@@ -516,7 +516,7 @@ DECLARE_CONSOLE_COMMAND(
"cmd ogf ocf b0 b1 b2 b3... or lcmd opcode len uint32.. (little endian)",
"Send an hci command of length len");
-static int command_ble_hci_acl(int argc, char **argv)
+static int command_ble_hci_acl(int argc, const char **argv)
{
static struct hciAclHdr header;
int length, hdr, i;
@@ -560,7 +560,7 @@ DECLARE_CONSOLE_COMMAND(ble_hci_acl, command_ble_hci_acl,
"hdr len uint32 uint32 uint32... (little endian)",
"Send hci acl data of length len");
-static int command_ble_hci_adv(int argc, char **argv)
+static int command_ble_hci_adv(int argc, const char **argv)
{
static struct hciCmdHdr header;
int adv, p = 0, scan_rsp = 0;