Eliad Peller 0ab82b04ac 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 <eliad@wizery.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-12-07 16:09:13 -05:00
..
2010-11-29 15:30:30 -05:00
2010-12-07 16:09:12 -05:00
2009-07-10 15:01:49 -04:00
2010-10-13 15:45:23 -04:00
2008-04-08 16:44:45 -04:00
2010-12-07 16:09:12 -05:00
2010-10-07 14:41:27 -04:00
2010-07-08 16:35:50 -04:00
2010-07-08 16:35:50 -04:00
2010-11-17 16:19:33 -05:00
2010-10-11 15:04:23 -04:00
2010-07-08 16:35:50 -04:00
2010-11-17 16:19:31 -05:00
2010-01-05 16:21:40 -05:00
2010-11-29 15:24:35 -05:00
2010-09-27 15:57:54 -04:00