summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorStephen Crane <steve.crane@rococosoft.com>2003-02-12 13:34:55 +0000
committerStephen Crane <steve.crane@rococosoft.com>2003-02-12 13:34:55 +0000
commitd436459deed7ec8a472f6d27c4f0e3539aa482ef (patch)
tree07b4c52c3386b939655c7f4a5d4061896487edeb /tools
parent427f4bbc07f40706dd5e3c5500f14c63a160c979 (diff)
bugfix
Diffstat (limited to 'tools')
-rw-r--r--tools/hciconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/hciconfig.c b/tools/hciconfig.c
index 0c8437f3..ed8fdcd2 100644
--- a/tools/hciconfig.c
+++ b/tools/hciconfig.c
@@ -486,7 +486,7 @@ void cmd_class(int ctl, int hdev, char *opt)
exit(1);
}
if (opt) {
- uint32_t cod = htobl(strtoul(opt, NULL, 16));
+ uint32_t cod = strtoul(opt, NULL, 16);
if (0 > hci_write_class_of_dev(s, cod, 1000)) {
printf("Can't write local class of device on hci%d. %s(%d)\n",
hdev, strerror(errno), errno);