From e92424611a34cb8582c9cafddcb7ac5984c742e7 Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Wed, 20 Nov 2019 09:31:42 -0800 Subject: [PATCH] scan: fix parent TSF parsing The value coming from the kernel is in the same endianness as IWD, so just parse it as a u64 rather than le64. --- src/scan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scan.c b/src/scan.c index e74a69c1..e007ce5d 100644 --- a/src/scan.c +++ b/src/scan.c @@ -1076,7 +1076,7 @@ static struct scan_bss *scan_parse_attr_bss(struct l_genl_attr *attr) if (len != sizeof(uint64_t)) goto fail; - bss->parent_tsf = l_get_le64(data); + bss->parent_tsf = l_get_u64(data); break; } }