batman-adv: don't initialise batman_iv private members in hard-interface.c
authorAntonio Quartulli <antonio@open-mesh.com>
Tue, 2 Apr 2013 10:16:53 +0000 (12:16 +0200)
committerAntonio Quartulli <ordex@autistici.org>
Wed, 29 May 2013 00:44:54 +0000 (02:44 +0200)
commit7db3fc291bb22bf43667b009dd0e701ed4eb7c96
tree2448e8c608644fcb9f89b78bc774a8b0bd033709
parent38dc40ef52d882e08b2af71fc1b5413ac7009952
batman-adv: don't initialise batman_iv private members in hard-interface.c

hard-interface.c has to do not contain any routing algorithm
specific code.

Allocate the hard-interface with kzalloc() and remove any
useless and algorithm specific member initialisation

Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
net/batman-adv/hard-interface.c