]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: register batman ogm receive function during protocol init
authorMarek Lindner <lindner_marek@yahoo.de>
Sun, 4 Mar 2012 08:56:25 +0000 (16:56 +0800)
committerAntonio Quartulli <ordex@autistici.org>
Fri, 11 May 2012 08:08:11 +0000 (10:08 +0200)
commit5254184faed8e3af030c0a256d60c7614c3f218c
treea366ebef6e2d65ed5fdbec48e38fc3e630a9e367
parent276142242c142300f387b37606a82bf214654922
batman-adv: register batman ogm receive function during protocol init

The B.A.T.M.A.N. IV OGM receive function still was hard-coded although
it is a routing protocol specific function. This patch takes advantage
of the dynamic packet handler registration to remove the hard-coded
function calls.

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Acked-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
net/batman-adv/bat_iv_ogm.c
net/batman-adv/main.c
net/batman-adv/routing.c
net/batman-adv/routing.h
net/batman-adv/types.h