Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 225088
b: refs/heads/master
c: 0ab82b0
h: refs/heads/master
v: v3
  • Loading branch information
Eliad Peller authored and John W. Linville committed Dec 7, 2010
1 parent 9a9037b commit 2215cff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 329b32fedc94fd9158f1635ac64f4ae6a00d374c
refs/heads/master: 0ab82b04ac83a05bda3ef8499f415fc6fd6ee206
9 changes: 5 additions & 4 deletions trunk/net/mac80211/mlme.c
Original file line number Diff line number Diff line change
Expand Up @@ -625,11 +625,12 @@ void ieee80211_recalc_ps(struct ieee80211_local *local, s32 latency)
/*
* Go to full PSM if the user configures a very low
* latency requirement.
* The 2 second value is there for compatibility until
* the PM_QOS_NETWORK_LATENCY is configured with real
* values.
* The 2000 second value is there for compatibility
* until the PM_QOS_NETWORK_LATENCY is configured
* with real values.
*/
if (latency > 1900000000 && latency != 2000000000)
if (latency > (1900 * USEC_PER_MSEC) &&
latency != (2000 * USEC_PER_SEC))
timeout = 0;
else
timeout = 100;
Expand Down

0 comments on commit 2215cff

Please sign in to comment.