* to the project. For more information see the website or contact
* the copyright holders.
*
- * $Id: ifnet.c,v 1.12 2004/11/21 01:21:10 tlopatic Exp $
+ * $Id: ifnet.c,v 1.13 2004/12/04 17:06:57 tlopatic Exp $
*/
#include "../interfaces.h"
}
}
-#if defined USE_LINK_QUALITY
if (olsr_cnf->lq_level == 0)
{
-#endif
olsr_remove_scheduler_event(&generate_hello, Int,
IntConf->cnf->hello_params.emission_interval,
0, NULL);
olsr_remove_scheduler_event(&generate_tc, Int,
IntConf->cnf->tc_params.emission_interval,
0, NULL);
-#if defined USE_LINK_QUALITY
}
else
IntConf->cnf->tc_params.emission_interval,
0, NULL);
}
-#endif
+
olsr_remove_scheduler_event(&generate_mid, Int,
IntConf->cnf->mid_params.emission_interval,
0, NULL);
net_add_buffer(New);
-#if defined USE_LINK_QUALITY
if (olsr_cnf->lq_level == 0)
{
-#endif
olsr_register_scheduler_event(&generate_hello, New,
IntConf->cnf->hello_params.emission_interval,
0, NULL);
olsr_register_scheduler_event(&generate_tc, New,
IntConf->cnf->tc_params.emission_interval,
0, NULL);
-#if defined USE_LINK_QUALITY
}
else
IntConf->cnf->tc_params.emission_interval,
0, NULL);
}
-#endif
+
olsr_register_scheduler_event(&generate_mid, New,
IntConf->cnf->mid_params.emission_interval,
0, NULL);