On Sun, Oct 10, 2010 at 02:49:51PM +0200, Marek Lindner wrote:
Any good reason for all these "originator interval" explanations here ?
@@ -592,6 +592,7 @@ struct net_device *softif_create(char *name) atomic_set(&bat_priv->gw_mode, GW_MODE_OFF); atomic_set(&bat_priv->gw_class, 0); atomic_set(&bat_priv->orig_interval, 1000);
- atomic_set(&bat_priv->hop_penalty, 30);
Either you initialize the value with TQ_HOP_PENALTY or you remove the define from the main.h file.
Argh, ehm, thanks... thought I had removed the define and set the hop_penalty to 10... but...
eh, nevermind, will redo that :)
Cheers, Linus
Regards, Marek