ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] [PATCH] btl2cap: fix EWS and UCD bits in l2cap info rsp

From: Emeltchenko Andrei <Andrei.Emeltchenko.news@xxxxxxxxx>
Date: Fri, 2 Sep 2011 12:02:28 +0300
From: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx>

Extended Windows Size and Unicast Connectionless Data Reception
shows wrong bits in l2cap extended features
---
 epan/dissectors/packet-btl2cap.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/epan/dissectors/packet-btl2cap.c b/epan/dissectors/packet-btl2cap.c
index 40f3213..ac0a909 100644
--- a/epan/dissectors/packet-btl2cap.c
+++ b/epan/dissectors/packet-btl2cap.c
@@ -1506,12 +1506,12 @@ proto_register_btl2cap(void)
 		},
 		{ &hf_btl2cap_info_window,
 			{ "Extended Window Size", "btl2cap.info_window",
-				FT_UINT32, BASE_DEC, NULL, 0x01,
+				FT_UINT32, BASE_DEC, NULL, 0x0100,
 				"Extended Window Size support", HFILL }
 		},
 		{ &hf_btl2cap_info_unicast,
 			{ "Unicast Connectionless Data Reception", "btl2cap.info_unicast",
-				FT_UINT32, BASE_DEC, NULL, 0x02,
+				FT_UINT32, BASE_DEC, NULL, 0x0200,
 				"Unicast Connectionless Data Reception support", HFILL }
 		},
 		{ &hf_btl2cap_info_fixedchans,
-- 
1.7.4.1