|
@@ -1180,9 +1180,10 @@ static bool batadv_iv_ogm_calc_tq(struct batadv_orig_node *orig_node,
|
|
|
u8 total_count;
|
|
|
u8 orig_eq_count, neigh_rq_count, neigh_rq_inv, tq_own;
|
|
|
unsigned int neigh_rq_inv_cube, neigh_rq_max_cube;
|
|
|
- int tq_asym_penalty, inv_asym_penalty, if_num;
|
|
|
+ int if_num;
|
|
|
+ unsigned int tq_asym_penalty, inv_asym_penalty;
|
|
|
unsigned int combined_tq;
|
|
|
- int tq_iface_penalty;
|
|
|
+ unsigned int tq_iface_penalty;
|
|
|
bool ret = false;
|
|
|
|
|
|
/* find corresponding one hop neighbor */
|