batman-adv: iv_ogm, fix comment function name
authorMarkus Pargmann <mpa@pengutronix.de>
Fri, 26 Dec 2014 11:41:36 +0000 (12:41 +0100)
committerAntonio Quartulli <antonio@meshcoding.com>
Wed, 3 Jun 2015 08:58:32 +0000 (10:58 +0200)
This is a small copy paste fix for batadv_ing_buffer_avg.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
net/batman-adv/bat_iv_ogm.c

index 0019f1bfbe8b01bbc6c92609d1206314dbdba56d..9f83137a65149025d9108597660e392ab0fdd69b 100644 (file)
@@ -55,7 +55,7 @@ static void batadv_ring_buffer_set(uint8_t lq_recv[], uint8_t *lq_index,
 }
 
 /**
- * batadv_ring_buffer_set - compute the average of all non-zero values stored
+ * batadv_ring_buffer_avg - compute the average of all non-zero values stored
  * in the given ring buffer
  * @lq_recv: pointer to the ring buffer
  *