summaryrefslogtreecommitdiffstats
path: root/tools/hciconfig.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2003-07-24 17:34:34 +0000
committerMarcel Holtmann <marcel@holtmann.org>2003-07-24 17:34:34 +0000
commit6b410af5c3e83f36ed8b5a620f1ab3029a271058 (patch)
tree24b7ec40b12997b4f13de490919e3673fc1df6eb /tools/hciconfig.c
parent8891e1ab4d0832e12815bb94689fd0f87c06a11f (diff)
Kill usage of strtoba() and batostr()
Diffstat (limited to 'tools/hciconfig.c')
-rw-r--r--tools/hciconfig.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/hciconfig.c b/tools/hciconfig.c
index aa3d9ab4..c1df2815 100644
--- a/tools/hciconfig.c
+++ b/tools/hciconfig.c
@@ -875,17 +875,17 @@ static void cmd_revision(int ctl, int hdev, char *opt)
void print_dev_hdr(struct hci_dev_info *di)
{
static int hdr = -1;
- bdaddr_t bdaddr;
+ char addr[18];
if (hdr == di->dev_id)
return;
hdr = di->dev_id;
- baswap(&bdaddr, &di->bdaddr);
+ ba2str(&di->bdaddr, addr);
printf("%s:\tType: %s\n", di->name, hci_dtypetostr(di->type) );
printf("\tBD Address: %s ACL MTU: %d:%d SCO MTU: %d:%d\n",
- batostr(&bdaddr), di->acl_mtu, di->acl_pkts,
+ addr, di->acl_mtu, di->acl_pkts,
di->sco_mtu, di->sco_pkts);
}