Skip to content

Commit 20a3468

Browse files
XenoKovahXeno Kovah
and
Xeno Kovah
authored
bluetooth: The endinness of LL_VERSION_IND Subversion field should be little-endian. (#4662)
Co-authored-by: Xeno Kovah <[email protected]>
1 parent bff1ea0 commit 20a3468

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scapy/layers/bluetooth4LE.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ class LL_VERSION_IND(Packet):
541541
fields_desc = [
542542
ByteEnumField("version", 8, BTLE_Versions),
543543
LEShortEnumField("company", 0, BTLE_Corp_IDs),
544-
XShortField("subversion", 0)
544+
XLEShortField("subversion", 0)
545545
]
546546

547547

0 commit comments

Comments
 (0)