summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorVinicius Costa Gomes <vinicius.gomes@openbossa.org>2012-02-10 18:40:05 -0300
committerJohan Hedberg <johan.hedberg@intel.com>2012-02-14 14:39:05 +0200
commit4725ddffe2c543154d38881e9f13458a96a4de72 (patch)
tree8bf12f51a84f79e286e0fb25edebc8adc0fb0e9d /tools
parent36ca1992d4b95a8fe0490eedc91f2bac5e117e0c (diff)
hciconfig: Fix using old-style initializers
Diffstat (limited to 'tools')
-rw-r--r--tools/hciconfig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/hciconfig.c b/tools/hciconfig.c
index a7249db0..5d01bd9c 100644
--- a/tools/hciconfig.c
+++ b/tools/hciconfig.c
@@ -503,7 +503,7 @@ static void cmd_lm(int ctl, int hdev, char *opt)
static void cmd_aclmtu(int ctl, int hdev, char *opt)
{
- struct hci_dev_req dr = { dev_id: hdev };
+ struct hci_dev_req dr = { .dev_id = hdev };
uint16_t mtu, mpkt;
if (!opt)
@@ -523,7 +523,7 @@ static void cmd_aclmtu(int ctl, int hdev, char *opt)
static void cmd_scomtu(int ctl, int hdev, char *opt)
{
- struct hci_dev_req dr = { dev_id: hdev };
+ struct hci_dev_req dr = { .dev_id = hdev };
uint16_t mtu, mpkt;
if (!opt)