3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 13:02:44 +01:00

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.
This commit is contained in:
James Prestwood 2019-11-20 09:31:42 -08:00 committed by Denis Kenzior
parent 05c8a1af47
commit e92424611a

View File

@ -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;
}
}