Skip to contentSkip to conversation

tools/btsnoop: Fix opcode for SCO TX packet

PATCH In review Jukka Kinnunen 2 participants 2 messages Jan 22, 2015 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools/btsnoop: Fix opcode for SCO TX packet

---
 tools/btsnoop.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/btsnoop.c +1 -1
index 71191eb..3eb8082 100644
@@ -230,7 +230,7 @@ next_packet:
 		if (flags & 0x01)
 			opcode = BTSNOOP_OPCODE_SCO_RX_PKT;
 		else
-			opcode = BTSNOOP_OPCODE_ACL_TX_PKT;
+			opcode = BTSNOOP_OPCODE_SCO_TX_PKT;
 		break;
 	case 0x04:
 		opcode = BTSNOOP_OPCODE_EVENT_PKT;
Signature · 1 line
1.9.1
#1 lore raw

Hi Jukka,

Quoted 18 lines · Jukka Kinnunen
---
 tools/btsnoop.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/btsnoop.c +1 -2
index 71191eb..3eb8082 100644
@@ -230,7 +230,7 @@ next_packet:
                if (flags & 0x01)
                        opcode = BTSNOOP_OPCODE_SCO_RX_PKT;
                else
-                       opcode = BTSNOOP_OPCODE_ACL_TX_PKT;
+                       opcode = BTSNOOP_OPCODE_SCO_TX_PKT;
                break;
        case 0x04:
                opcode = BTSNOOP_OPCODE_EVENT_PKT;
--
Quoted 1 line

1.9.1

Pushed.

Signature · 1 line
Luiz Augusto von Dentz