--- bat_iv_ogm.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/bat_iv_ogm.c b/bat_iv_ogm.c index d60e1ba..e4bd54e 100644 --- a/bat_iv_ogm.c +++ b/bat_iv_ogm.c @@ -772,8 +772,7 @@ static int bat_ogm_calc_tq(struct orig_node *orig_node,
/* if we have too few packets (too less data) we set tq_own to zero */ /* if we receive too few packets it is not considered bidirectional */ - if ((total_count < TQ_LOCAL_BIDRECT_SEND_MINIMUM) || - (neigh_rq_count < TQ_LOCAL_BIDRECT_RECV_MINIMUM)) + if (total_count < TQ_LOCAL_BIDRECT_SEND_MINIMUM) tq_own = 0; else /* neigh_node->real_packet_count is never zero as we