Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dd58ddc6 authored by Linus Lüssing's avatar Linus Lüssing Committed by Sven Eckelmann
Browse files

batman-adv: Fix kernel panic when fetching vis data on a vis server



The hash_iterate removal introduced a bug leading to a kernel panic when
fetching the vis data on a vis server. That commit forgot to rename one
variable name, which this commit fixes now.

Reported-by: default avatarRussell Senior <russell@personaltelco.net>
Signed-off-by: default avatarLinus Lüssing <linus.luessing@web.de>
Signed-off-by: default avatarSven Eckelmann <sven@narfation.org>
parent aa0adb1a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -268,10 +268,10 @@ int vis_seq_print_text(struct seq_file *seq, void *offset)
				buff_pos += sprintf(buff + buff_pos, "%pM,",
						entry->addr);

				for (i = 0; i < packet->entries; i++)
				for (j = 0; j < packet->entries; j++)
					buff_pos += vis_data_read_entry(
							buff + buff_pos,
							&entries[i],
							&entries[j],
							entry->addr,
							entry->primary);