Staging: batman-adv: fix module initialization
authorMarek Lindner <lindner_marek@yahoo.de>
Fri, 19 Feb 2010 15:18:11 +0000 (16:18 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 4 Mar 2010 00:43:03 +0000 (16:43 -0800)
commitaf71b816cdc623bc7c0b616ededbf3dadaf03156
tree14fb2bdd9403954165cd09972484041b8b1ff125
parentda6d6c7ac366ad3189e494cd78376db7a4f40d59
Staging: batman-adv: fix module initialization

Make sure that batman-adv does not process packets before its
initialization is complete. Some sanity checks added to the receiver
function.

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/batman-adv/hard-interface.c
drivers/staging/batman-adv/proc.c