From b3122bfb6efde51146256051888c30606f68a1fb Mon Sep 17 00:00:00 2001 From: Xeno Kovah Date: Sat, 8 Feb 2025 13:50:54 -0500 Subject: [PATCH] The endinness of LL_VERSION_IND Subversion field should be little-endian. --- scapy/layers/bluetooth4LE.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scapy/layers/bluetooth4LE.py b/scapy/layers/bluetooth4LE.py index be87e2bcde7..49a5798a48a 100644 --- a/scapy/layers/bluetooth4LE.py +++ b/scapy/layers/bluetooth4LE.py @@ -541,7 +541,7 @@ class LL_VERSION_IND(Packet): fields_desc = [ ByteEnumField("version", 8, BTLE_Versions), LEShortEnumField("company", 0, BTLE_Corp_IDs), - XShortField("subversion", 0) + XLEShortField("subversion", 0) ]