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
1 changed files with 1 additions and 1 deletions

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