aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211')
-rw-r--r--net/mac80211/mlme.c2
-rw-r--r--net/mac80211/scan.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
index c6c1f49cc45..0839c4e8fd2 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -556,7 +556,7 @@ void ieee80211_recalc_ps(struct ieee80211_local *local, s32 latency)
556 s32 beaconint_us; 556 s32 beaconint_us;
557 557
558 if (latency < 0) 558 if (latency < 0)
559 latency = pm_qos_requirement(PM_QOS_NETWORK_LATENCY); 559 latency = pm_qos_request(PM_QOS_NETWORK_LATENCY);
560 560
561 beaconint_us = ieee80211_tu_to_usec( 561 beaconint_us = ieee80211_tu_to_usec(
562 found->vif.bss_conf.beacon_int); 562 found->vif.bss_conf.beacon_int);
diff --git a/net/mac80211/scan.c b/net/mac80211/scan.c
index e14c44195ae..e1b0be7a57b 100644
--- a/net/mac80211/scan.c
+++ b/net/mac80211/scan.c
@@ -510,7 +510,7 @@ static int ieee80211_scan_state_decision(struct ieee80211_local *local,
510 bad_latency = time_after(jiffies + 510 bad_latency = time_after(jiffies +
511 ieee80211_scan_get_channel_time(next_chan), 511 ieee80211_scan_get_channel_time(next_chan),
512 local->leave_oper_channel_time + 512 local->leave_oper_channel_time +
513 usecs_to_jiffies(pm_qos_requirement(PM_QOS_NETWORK_LATENCY))); 513 usecs_to_jiffies(pm_qos_request(PM_QOS_NETWORK_LATENCY)));
514 514
515 listen_int_exceeded = time_after(jiffies + 515 listen_int_exceeded = time_after(jiffies +
516 ieee80211_scan_get_channel_time(next_chan), 516 ieee80211_scan_get_channel_time(next_chan),