mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
cfg80211: report measurement start TSF correctly
Instead of reporting the AP's TSF, host time was reported. Fix it. Signed-off-by: Avraham Stern <[email protected]> Signed-off-by: Luca Coelho <[email protected]> Signed-off-by: Johannes Berg <[email protected]>
This commit is contained in:
parent
4f488fbca2
commit
b658420253
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/*
|
||||
* Copyright (C) 2018 Intel Corporation
|
||||
* Copyright (C) 2018 - 2019 Intel Corporation
|
||||
*/
|
||||
#ifndef __PMSR_H
|
||||
#define __PMSR_H
|
||||
|
|
@ -448,7 +448,7 @@ static int nl80211_pmsr_send_result(struct sk_buff *msg,
|
|||
|
||||
if (res->ap_tsf_valid &&
|
||||
nla_put_u64_64bit(msg, NL80211_PMSR_RESP_ATTR_AP_TSF,
|
||||
res->host_time, NL80211_PMSR_RESP_ATTR_PAD))
|
||||
res->ap_tsf, NL80211_PMSR_RESP_ATTR_PAD))
|
||||
goto error;
|
||||
|
||||
if (res->final && nla_put_flag(msg, NL80211_PMSR_RESP_ATTR_FINAL))
|
||||
|
|
|
|||
Loading…
Reference in a new issue