Wireshark-commits: [Wireshark-commits] master e01c07a: Bluetooth: L2CAP: Fix disconnection CIDs
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=e01c07aadb6410e98bcc452b9abd2df815a6c492
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
e01c07a by Michal Labedzki (michal.labedzki@xxxxxxxxx):
Bluetooth: L2CAP: Fix disconnection CIDs
CID has two roles: Source CID and Destination CID. This two roles
have another two different meanings: one if frame is received, another if frame
is sent (SCID is "DCID", etc). Then using information that PDU is "request"
or "response" we can correctly recognize CID.
This should fix unrecognized L2CAP payload while there were no valid
Disconnection Request.
Change-Id: Ibcbbb9e6966873b6af12c1e3c65c6a3983aa4163
Reviewed-on: https://code.wireshark.org/review/807
Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
Actions performed:
from 992c65c Bluetooth: L2CAP: A little update to Core 4.1
adds e01c07a Bluetooth: L2CAP: Fix disconnection CIDs
Summary of changes:
epan/dissectors/packet-btl2cap.c | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)