mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
qcacld-3.0: Replace calls to get_monotonic_boottime() with qdf wrapper
Some functions have been calling get_monotonic_bootime() directly, which is now obsolete, having been replaced with ktime_get_boottime(). Change calls to get_monotonic_boottime() with qdf_get_monotonic_boottime(), which has now been updated to call ktime_get_boottime(). Change-Id: I9ce4bf2104077b6aacf841416997acb6f64b2841 CRs-Fixed: 2564544
This commit is contained in:
parent
ac14007074
commit
f1096fd358
2 changed files with 2 additions and 7 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -731,7 +731,6 @@ wlan_hdd_cfg80211_extscan_full_scan_result_event(struct hdd_context *hdd_ctx,
|
|||
data)
|
||||
{
|
||||
struct sk_buff *skb;
|
||||
struct timespec ts;
|
||||
struct hdd_ext_scan_context *context;
|
||||
|
||||
int flags = cds_get_gfp_flags();
|
||||
|
|
@ -767,8 +766,7 @@ wlan_hdd_cfg80211_extscan_full_scan_result_event(struct hdd_context *hdd_ctx,
|
|||
* Android does not want the time stamp from the frame.
|
||||
* Instead it wants a monotonic increasing value since boot
|
||||
*/
|
||||
get_monotonic_boottime(&ts);
|
||||
data->ap.ts = ((u64)ts.tv_sec * 1000000) + (ts.tv_nsec / 1000);
|
||||
data->ap.ts = qdf_get_monotonic_boottime();
|
||||
|
||||
hdd_debug("Req Id %u More Data %u", data->requestId,
|
||||
data->moreData);
|
||||
|
|
|
|||
Loading…
Reference in a new issue