[PATCH 3/3] monitor/packet: Fix possbile checkpatch errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 monitor/packet.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/monitor/packet.c b/monitor/packet.c
index 87b97ad..ebff682 100644
--- a/monitor/packet.c
+++ b/monitor/packet.c
@@ -1052,7 +1052,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";
@@ -1096,7 +1096,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";
@@ -2184,7 +2184,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);
@@ -2575,7 +2575,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	},
@@ -2643,7 +2643,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);
@@ -3900,7 +3900,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);
@@ -3924,7 +3924,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);
@@ -8039,7 +8039,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);
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux