summaryrefslogtreecommitdiff
path: root/monitor
diff options
context:
space:
mode:
authorGowtham Anandha Babu <gowtham.ab@samsung.com>2015-01-12 17:38:31 +0530
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2015-01-12 10:35:59 -0200
commitb9dbc3762b5ec0a7b62497866cd0d5bab4433ee0 (patch)
treed9ca9e9c5648be042932f542292f40a99b167928 /monitor
parent29338b700258c79e2a0a8c66cdeb71728e75f7ac (diff)
downloadbluez-b9dbc3762b5ec0a7b62497866cd0d5bab4433ee0.tar.gz
monitor/packet: Fix possbile checkpatch errors
Diffstat (limited to 'monitor')
-rw-r--r--monitor/packet.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/monitor/packet.c b/monitor/packet.c
index 86420340c..50abc4367 100644
--- a/monitor/packet.c
+++ b/monitor/packet.c
@@ -1100,7 +1100,7 @@ static void print_voice_setting(uint16_t setting)
str = "Linear";
break;
case 0x01:
- str ="u-law";
+ str = "u-law";
break;
case 0x02:
str = "A-law";
@@ -1144,7 +1144,7 @@ static void print_voice_setting(uint16_t setting)
str = "CVSD";
break;
case 0x01:
- str ="u-law";
+ str = "u-law";
break;
case 0x02:
str = "A-law";
@@ -2232,7 +2232,7 @@ static void print_channel_map(const uint8_t *map)
if (count > 1) {
print_field(" Channel %u-%u",
- start, start + count - 1 );
+ start, start + count - 1);
count = 0;
} else if (count > 0) {
print_field(" Channel %u", start);
@@ -2623,7 +2623,7 @@ static const struct {
LE_STATE_MASTER_SLAVE },
{ 39, LE_STATE_CONN_SLAVE | LE_STATE_HIGH_DIRECT_ADV |
LE_STATE_SLAVE_SLAVE },
- { 40, LE_STATE_CONN_SLAVE| LE_STATE_LOW_DIRECT_ADV |
+ { 40, LE_STATE_CONN_SLAVE | LE_STATE_LOW_DIRECT_ADV |
LE_STATE_SLAVE_SLAVE },
{ 41, LE_STATE_INITIATING | LE_STATE_CONN_SLAVE |
LE_STATE_MASTER_SLAVE },
@@ -2691,7 +2691,7 @@ static void print_le_channel_map(const uint8_t *map)
if (count > 1) {
print_field(" Channel %u-%u",
- start, start + count - 1 );
+ start, start + count - 1);
count = 0;
} else if (count > 0) {
print_field(" Channel %u", start);
@@ -3948,7 +3948,7 @@ static void create_logic_link_cmd(const void *data, uint8_t size)
static void accept_logic_link_cmd(const void *data, uint8_t size)
{
- const struct bt_hci_cmd_accept_logic_link *cmd = data;
+ const struct bt_hci_cmd_accept_logic_link *cmd = data;
print_phy_handle(cmd->phy_handle);
print_flow_spec("TX", cmd->tx_flow_spec);
@@ -3972,7 +3972,7 @@ static void logic_link_cancel_cmd(const void *data, uint8_t size)
static void logic_link_cancel_rsp(const void *data, uint8_t size)
{
- const struct bt_hci_rsp_logic_link_cancel *rsp = data;
+ const struct bt_hci_rsp_logic_link_cancel *rsp = data;
print_status(rsp->status);
print_phy_handle(rsp->phy_handle);
@@ -8211,7 +8211,7 @@ void packet_hci_event(struct timeval *tv, uint16_t index,
sprintf(extra_str, "(0x%2.2x) plen %d", hdr->evt, hdr->plen);
print_packet(tv, index, '>', event_color, "HCI Event",
- event_str, extra_str);
+ event_str, extra_str);
if (!event_data || !event_data->func) {
packet_hexdump(data, size);