Skip to content

Commit d64e574

Browse files
Avoid caching with BTLE layer (#4705)
1 parent 46f12db commit d64e574

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scapy/layers/bluetooth4LE.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,9 @@ class BTLE(Packet):
214214
X3BytesField("crc", None)
215215
]
216216

217+
# Avoid caching with this layer for data reordering to work properly.
218+
no_cache = True
219+
217220
@staticmethod
218221
def compute_crc(pdu, init=0x555555):
219222
def swapbits(a):

0 commit comments

Comments
 (0)