|
@@ -17503,7 +17503,6 @@ wlan_hdd_inform_bss_frame(struct hdd_adapter *adapter,
|
|
|
uint32_t i;
|
|
|
struct cfg80211_bss *bss_status = NULL;
|
|
|
struct hdd_context *hdd_ctx;
|
|
|
- struct timespec ts;
|
|
|
struct hdd_config *cfg_param;
|
|
|
struct wlan_cfg80211_inform_bss bss_data = {0};
|
|
|
|
|
@@ -17541,9 +17540,7 @@ wlan_hdd_inform_bss_frame(struct hdd_adapter *adapter,
|
|
|
/* Android does not want the timestamp from the frame.
|
|
|
* Instead it wants a monotonic increasing value
|
|
|
*/
|
|
|
- get_monotonic_boottime(&ts);
|
|
|
- bss_data.mgmt->u.probe_resp.timestamp =
|
|
|
- ((u64) ts.tv_sec * 1000000) + (ts.tv_nsec / 1000);
|
|
|
+ bss_data.mgmt->u.probe_resp.timestamp = qdf_get_monotonic_boottime();
|
|
|
|
|
|
bss_data.mgmt->u.probe_resp.beacon_int = bss_desc->beaconInterval;
|
|
|
bss_data.mgmt->u.probe_resp.capab_info = bss_desc->capabilityInfo;
|