Skip to contentSkip to conversation

batman-adv: return added entries instead of number of possibly added entries

PATCH In review Marek Lindner 2 participants 3 messages Apr 23, 2012 – Apr 25, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 batman-adv: return added entries instead of number of possibly added entries

---
 translation-table.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
translation-table.c +1 -1
index f8f207a..88c62f1 100644
@@ -319,7 +319,7 @@ int tt_changes_fill_buffer(struct bat_priv *bat_priv,
 	}
 	spin_unlock_bh(&bat_priv->tt_buff_lock);
 
-	return tot_changes;
+	return count;
 }
 
 int tt_local_seq_print_text(struct seq_file *seq, void *offset)
Signature · 1 line
1.7.9.1