staging: rtl8192e: Modify time handling
authorLarry Finger <Larry.Finger@lwfinger.net>
Mon, 1 Aug 2011 20:31:00 +0000 (15:31 -0500)
committerLarry Finger <Larry.Finger@lwfinger.net>
Thu, 25 Aug 2011 05:40:31 +0000 (00:40 -0500)
commite829d65e7855fb4c98a81dd8c210c5b6d738bde1
tree8fcacaefb17ae93c79d70538e976ad24a1ebd3ae
parent1800925f87040ce26ad0eb178b198bcbf3964f6e
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>
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