batman-adv: convert time_after instances to has_timed_out
authorMarek Lindner <lindner_marek@yahoo.de>
Tue, 20 Dec 2011 11:30:40 +0000 (19:30 +0800)
committerMarek Lindner <lindner_marek@yahoo.de>
Thu, 16 Feb 2012 18:50:20 +0000 (02:50 +0800)
commit032b7969f8874d5ddc65691cd3d008beffd2a09e
tree73a0e8bdd4dcf0f1dc3407b17df0424106027f9d
parentea3d2fd1b11fb3ef8706a48ece0a49a61bcd08bc
batman-adv: convert time_after instances to has_timed_out

To increase readability the has_timed_out() functions has been introduced.
This patch converts existing time_after() calls to use this wrapper
function (if applicable).
This patch also converts all timeouts to miliseconds to be consistent.

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
net/batman-adv/gateway_client.c
net/batman-adv/main.h
net/batman-adv/originator.c
net/batman-adv/routing.c
net/batman-adv/soft-interface.c
net/batman-adv/translation-table.c
net/batman-adv/vis.c
net/batman-adv/vis.h