commit | 9e7d1a445ed0d5c1d8863945d6c4c6f018a4aa83 | [log] [tgz] |
---|---|---|
author | Eric Sandeen <sandeen@redhat.com> | Thu Jan 24 15:47:39 2008 -0500 |
committer | David S. Miller <davem@davemloft.net> | Thu Jan 31 19:26:47 2008 -0800 |
tree | 57ea08c17f64dcb8c42b9a94793313e412d3a023 | |
parent | 303d9bf6bb64ead8e3f1d7e29904a4025502e591 [diff] |
iwlwifi: correct math in elapsed_jiffies w/o the first change: if end == start you get MAX_JIFFY_OFFSET which isn't what you want... For the latter I think to be technically correct you need the +1 to account for the jiffy between MAX_JIFFY_OFFSET and 0 (hmm w/ the 2nd change the first isn't strictly needed... ah well) Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>