diff options
| author | Eliad Peller <[email protected]> | 2010-12-03 00:16:23 +0000 |
|---|---|---|
| committer | John W. Linville <[email protected]> | 2010-12-07 21:09:13 +0000 |
| commit | 0ab82b04ac83a05bda3ef8499f415fc6fd6ee206 (patch) | |
| tree | 42fd6de641a1d620469df84c787340b6e089eaa7 /drivers/net/wireless/ath/debug.c | |
| parent | orinoco: allow IW_AUTH_MFP to pass through (diff) | |
| download | kernel-0ab82b04ac83a05bda3ef8499f415fc6fd6ee206.tar.gz kernel-0ab82b04ac83a05bda3ef8499f415fc6fd6ee206.zip | |
mac80211: fix dynamic-ps/pm_qos magic numbers
mac80211 uses pm_qos (/dev/network_latency) in order to determine the
dynamic ps timeout (or disable the dynamic-ps at all in some cases).
commit ff616381 added a comparison for the current network_latency
against one high value (1900ms), and against the default value
(2000sec, rather than the commented 2sec).
however, the representation of 1900ms was incorrect:
1900ms = 1900000us ( != 1900000000 )
fix it by using USEC_TO_MSEC/SEC consts.
Signed-off-by: Eliad Peller <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'drivers/net/wireless/ath/debug.c')
0 files changed, 0 insertions, 0 deletions
