forked from osmocom/wireshark
Bluetooth: ATT: Fix not missing break
"Break" is not missing, "error opcode" is part of opcode "Error Response" that is needed to fetch request data. Change-Id: I35432b22fae492a93332a8787213dd8fcf796e3b Reviewed-on: https://code.wireshark.org/review/7001 Reviewed-by: Michal Labedzki <michal.labedzki@tieto.com>
This commit is contained in:
parent
1eec03469d
commit
7610a69251
1 changed files with 2 additions and 1 deletions
|
@ -1496,7 +1496,7 @@ get_request(tvbuff_t *tvb, gint offset, packet_info *pinfo, guint8 opcode,
|
|||
if (tvb_captured_length_remaining(tvb, offset) < 1)
|
||||
return NULL;
|
||||
opcode = tvb_get_guint8(tvb, 1) + 1;
|
||||
break;
|
||||
/* No break */
|
||||
case 0x03: /* Exchange MTU Response */
|
||||
case 0x05: /* Find Information Response */
|
||||
case 0x07: /* Find By Type Value Response */
|
||||
|
@ -1530,6 +1530,7 @@ get_request(tvbuff_t *tvb, gint offset, packet_info *pinfo, guint8 opcode,
|
|||
case 0x16: /* Prepare Write Request */
|
||||
case 0x18: /* Execute Write Request */
|
||||
case 0x1D: /* Handle Value Indication */
|
||||
/* This should never happen */
|
||||
default:
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue