summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8192e/rtl_ps.h
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2011-08-25 11:48:12 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2011-08-25 10:05:09 -0700
commit0dd565069b21ae20f4916cf305b64268bb3f9d3f (patch)
tree1d715cabc712363936a110a7a3c4b7db0103e16b /drivers/staging/rtl8192e/rtl_ps.h
parentac513a88a072b23452ca96a86f18ba8b9c0d85cd (diff)
downloadop-kernel-dev-0dd565069b21ae20f4916cf305b64268bb3f9d3f.zip
op-kernel-dev-0dd565069b21ae20f4916cf305b64268bb3f9d3f.tar.gz
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>
Diffstat (limited to 'drivers/staging/rtl8192e/rtl_ps.h')
-rw-r--r--drivers/staging/rtl8192e/rtl_ps.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8192e/rtl_ps.h b/drivers/staging/rtl8192e/rtl_ps.h
index d97a6ed..453df2c 100644
--- a/drivers/staging/rtl8192e/rtl_ps.h
+++ b/drivers/staging/rtl8192e/rtl_ps.h
@@ -33,7 +33,7 @@ struct net_device;
#define INIT_DEFAULT_CHAN 1
void rtl8192_hw_wakeup(struct net_device *dev);
-void rtl8192_hw_to_sleep(struct net_device *dev, u32 th, u32 tl);
+void rtl8192_hw_to_sleep(struct net_device *dev, u64 time);
void rtllib_ips_leave_wq(struct net_device *dev);
void rtllib_ips_leave(struct net_device *dev);
void IPSLeave_wq (void *data);
OpenPOWER on IntegriCloud