aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/batman-adv/vis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/batman-adv/vis.c b/net/batman-adv/vis.c
index cd4c4231fa4..f69a3748f8a 100644
--- a/net/batman-adv/vis.c
+++ b/net/batman-adv/vis.c
@@ -268,10 +268,10 @@ int vis_seq_print_text(struct seq_file *seq, void *offset)
268 buff_pos += sprintf(buff + buff_pos, "%pM,", 268 buff_pos += sprintf(buff + buff_pos, "%pM,",
269 entry->addr); 269 entry->addr);
270 270
271 for (i = 0; i < packet->entries; i++) 271 for (j = 0; j < packet->entries; j++)
272 buff_pos += vis_data_read_entry( 272 buff_pos += vis_data_read_entry(
273 buff + buff_pos, 273 buff + buff_pos,
274 &entries[i], 274 &entries[j],
275 entry->addr, 275 entry->addr,
276 entry->primary); 276 entry->primary);
277 277