staging: rtl8192e: Modify time handling
authorLarry Finger <Larry.Finger@lwfinger.net>
Thu, 25 Aug 2011 16:48:12 +0000 (11:48 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 25 Aug 2011 17:05:09 +0000 (10:05 -0700)
commit0dd565069b21ae20f4916cf305b64268bb3f9d3f
tree1d715cabc712363936a110a7a3c4b7db0103e16b
parentac513a88a072b23452ca96a86f18ba8b9c0d85cd
staging: rtl8192e: Modify time handling

In several places, the driver keeps times (in jiffies) in two 32-bit
quantities. In the rtl8192_hw_to_sleep(), there is an error in the
calculation of the difference between two 64-bit quantities. Rather
than fix that error, I have converted to a single 64-bit number. That
makes the code be much cleaner and clearer.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rtl8192e/rtl_core.c
drivers/staging/rtl8192e/rtl_core.h
drivers/staging/rtl8192e/rtl_ps.c
drivers/staging/rtl8192e/rtl_ps.h
drivers/staging/rtl8192e/rtllib.h
drivers/staging/rtl8192e/rtllib_rx.c
drivers/staging/rtl8192e/rtllib_softmac.c