mac80211: allow drivers to report CLOCK_BOOTTIME for scan results
[cascardo/linux.git] / net / mac80211 / scan.c
index ae980ce..a3fea1f 100644 (file)
@@ -66,7 +66,9 @@ ieee80211_bss_info_update(struct ieee80211_local *local,
        struct cfg80211_bss *cbss;
        struct ieee80211_bss *bss;
        int clen, srlen;
-       struct cfg80211_inform_bss bss_meta = {};
+       struct cfg80211_inform_bss bss_meta = {
+               .boottime_ns = rx_status->boottime_ns,
+       };
        bool signal_valid;
 
        if (ieee80211_hw_check(&local->hw, SIGNAL_DBM))