]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
staging: rtl8188eu: use time_before/time_after and change type of ips_deny_time
authorManuel Schölling <manuel.schoelling@gmx.de>
Sun, 25 May 2014 13:05:24 +0000 (15:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 May 2014 18:14:10 +0000 (11:14 -0700)
commite017a92b2e768c13503765e1eabfa566bf791807
treee1d0eb2202e8e8857a1e4c972fd4460136a3a857
parent83991567b15ac0fac45f515dbc128a792d83e562
staging: rtl8188eu: use time_before/time_after and change type of ips_deny_time

To be future-proof and for better readability the time comparisons are
modified to use time_before/_after() instead of plain, error-prone math.
To suppress compiler warnings the type of ips_deny_time was changed.

Signed-off-by: Manuel Schölling <manuel.schoelling@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_pwrctrl.c
drivers/staging/rtl8188eu/include/rtw_pwrctrl.h