aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-btl2cap.h
diff options
context:
space:
mode:
authorMichal Labedzki <michal.labedzki@tieto.com>2014-04-11 09:22:46 +0200
committerMichal Labedzki <michal.labedzki@tieto.com>2014-05-30 11:25:50 +0000
commit5742d2e145cb6c9eed517685d5229ac17bc775b1 (patch)
tree3dce8008201d0afe78601317928f67e9dc8bdc56 /epan/dissectors/packet-btl2cap.h
parente3473c921fe1780b23cb0f046d0c2a7558743518 (diff)
Bluetooth: L2CAP: Another fix for CIDs
Example: if there is Connection Request than field with CID always is called SCID. If we Sent this packet, it is okay, but if we Receive it, then it is not SCID for us, but DCID. If we receive Connection Request (DCID) and than we want to make disconnection, so we send Disconnection Request with DCID that is SCID in Connection Request... etc. I try to clarify this, so rename stored SCID to Local CID and DCID to Remote CID. Change-Id: Idde0939a03955d8f4a10d8c9f7c43fd364254460 Reviewed-on: https://code.wireshark.org/review/1879 Reviewed-by: Michal Labedzki <michal.labedzki@tieto.com>
Diffstat (limited to 'epan/dissectors/packet-btl2cap.h')
-rw-r--r--epan/dissectors/packet-btl2cap.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/epan/dissectors/packet-btl2cap.h b/epan/dissectors/packet-btl2cap.h
index 27340cefeb..4208e7beab 100644
--- a/epan/dissectors/packet-btl2cap.h
+++ b/epan/dissectors/packet-btl2cap.h
@@ -54,13 +54,11 @@ typedef struct _btl2cap_data_t {
guint32 adapter_id;
guint16 chandle; /* only low 12 bits used */
guint16 cid;
- gint32 scid;
- gint32 dcid;
+ gint32 local_cid;
+ gint32 remote_cid;
guint32 *disconnect_in_frame;
gboolean is_local_psm; /* otherwise it is PSM in remote device */
guint16 psm;
- guint32 first_scid_frame;
- guint32 first_dcid_frame;
guint32 remote_bd_addr_oui;
guint32 remote_bd_addr_id;
} btl2cap_data_t;