commit e92424611a34cb8582c9cafddcb7ac5984c742e7
parent 05c8a1af47a309dea2c4c241b2fd92c6e1392169
Author: James Prestwood <prestwoj@gmail.com>
Date: Wed, 20 Nov 2019 09:31:42 -0800
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.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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;
}
}