Commit 7035ca47 authored by A. Cody Schuffelen's avatar A. Cody Schuffelen Committed by Zheng Zengkai
Browse files

virt_wifi: Return micros for BSS TSF values



stable inclusion
from stable-5.10.32
commit 024f9d048000d2fd92040ba85c5513d1abbfeaa4
bugzilla: 51796

--------------------------------

[ Upstream commit b57aa17f ]

cfg80211_inform_bss expects to receive a TSF value, but is given the
time since boot in nanoseconds. TSF values are expected to be at
microsecond scale rather than nanosecond scale.

Signed-off-by: default avatarA. Cody Schuffelen <schuffelen@google.com>
Link: https://lore.kernel.org/r/20210318200419.1421034-1-schuffelen@google.com


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Acked-by: default avatarWeilong Chen <chenweilong@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 01997f1f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment