diff options
author | Emilio López <emilio@elopez.com.ar> | 2013-07-22 22:09:18 -0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-07-24 17:04:20 -0700 |
commit | 2bf420a7686e0fdd2fbf16d75e729b306744db0d (patch) | |
tree | ae5422373f8ff4d856742c260f6baa533eb7b7dc /net | |
parent | 905a6f96a1b18e490a75f810d733ced93c39b0e5 (diff) | |
download | linux-2bf420a7686e0fdd2fbf16d75e729b306744db0d.tar.gz linux-2bf420a7686e0fdd2fbf16d75e729b306744db0d.tar.bz2 linux-2bf420a7686e0fdd2fbf16d75e729b306744db0d.zip |
net: sun4i: fix timeout check
The current timeout check is comparing two constant values, so it won't
ever detect a timeout. This patch reworks the affected code a bit so it
has a chance at detecting timeouts correctly.
Signed-off-by: Emilio López <emilio@elopez.com.ar>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions