aboutsummaryrefslogtreecommitdiffstats
path: root/epan/crypt/airpdcap_tkip.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/crypt/airpdcap_tkip.c')
-rw-r--r--epan/crypt/airpdcap_tkip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/crypt/airpdcap_tkip.c b/epan/crypt/airpdcap_tkip.c
index 0f0aaa781b..0137a5e4c5 100644
--- a/epan/crypt/airpdcap_tkip.c
+++ b/epan/crypt/airpdcap_tkip.c
@@ -134,7 +134,7 @@ static const UINT16 Sbox[256] = {
#define Mk16(hi, lo) \
((UINT16)((lo) | (((UINT16) (hi)) << 8)))
-#define Mk16_le(v) ((UINT16)pletohs(v))
+#define Mk16_le(v) ((UINT16)pletoh16(v))
#define _S_(v) \
((UINT16)(Sbox[Lo8(v)] ^ ((Sbox[Hi8(v)] << 8) | (Sbox[Hi8(v)] >> 8))))