diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2005-03-27 18:40:59 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2005-03-27 18:40:59 +0000 |
commit | f5434ca84a250bbe6a7fe7baffdc53fb79d482f9 (patch) | |
tree | 4aa43ed9a08ad73d454da27bfbca1915b664d8ba /tools/hciconfig.c | |
parent | da77c34ef4276ad800498f76a707478add8b0a69 (diff) |
Whitespace cleanup
Diffstat (limited to 'tools/hciconfig.c')
-rw-r--r-- | tools/hciconfig.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/hciconfig.c b/tools/hciconfig.c index defe59c9..e66c9aa1 100644 --- a/tools/hciconfig.c +++ b/tools/hciconfig.c @@ -608,7 +608,7 @@ static void cmd_class(int ctl, int hdev, char *opt) if ((cls[1] & 0x1f) > sizeof(*major_devices)) printf("Invalid Device Class!\n"); else - printf("%s, %s\n", major_devices[cls[1] & 0x1f], + printf("%s, %s\n", major_devices[cls[1] & 0x1f], get_minor_device_name(cls[1] & 0x1f, cls[0] >> 2)); } } @@ -743,8 +743,8 @@ static void cmd_inq_parms(int ctl, int hdev, char *opt) rq.cparam = &cp; rq.clen = WRITE_INQ_ACTIVITY_CP_SIZE; - cp.window = htobs((uint16_t)window); - cp.interval = htobs((uint16_t)interval); + cp.window = htobs((uint16_t) window); + cp.interval = htobs((uint16_t) interval); if (window < 0x12 || window > 0x1000) printf("Warning: inquiry window out of range!\n"); @@ -812,8 +812,8 @@ static void cmd_page_parms(int ctl, int hdev, char *opt) rq.cparam = &cp; rq.clen = WRITE_PAGE_ACTIVITY_CP_SIZE; - cp.window = htobs((uint16_t)window); - cp.interval = htobs((uint16_t)interval); + cp.window = htobs((uint16_t) window); + cp.interval = htobs((uint16_t) interval); if (window < 0x12 || window > 0x1000) printf("Warning: page window out of range!\n"); @@ -881,7 +881,7 @@ static void cmd_page_to(int ctl, int hdev, char *opt) rq.cparam = &cp; rq.clen = WRITE_PAGE_TIMEOUT_CP_SIZE; - cp.timeout = htobs((uint16_t)timeout); + cp.timeout = htobs((uint16_t) timeout); if (timeout < 0x01 || timeout > 0xFFFF) printf("Warning: page timeout out of range!\n"); |