aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/originator.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/batman-adv/originator.c')
-rw-r--r--net/batman-adv/originator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/batman-adv/originator.c b/net/batman-adv/originator.c
index ae54f77f2c1b..3ea997deb112 100644
--- a/net/batman-adv/originator.c
+++ b/net/batman-adv/originator.c
@@ -77,7 +77,7 @@ struct neigh_node *orig_node_get_router(struct orig_node *orig_node)
77 77
78struct neigh_node *create_neighbor(struct orig_node *orig_node, 78struct neigh_node *create_neighbor(struct orig_node *orig_node,
79 struct orig_node *orig_neigh_node, 79 struct orig_node *orig_neigh_node,
80 uint8_t *neigh, 80 const uint8_t *neigh,
81 struct hard_iface *if_incoming) 81 struct hard_iface *if_incoming)
82{ 82{
83 struct bat_priv *bat_priv = netdev_priv(if_incoming->soft_iface); 83 struct bat_priv *bat_priv = netdev_priv(if_incoming->soft_iface);
@@ -183,7 +183,7 @@ void originator_free(struct bat_priv *bat_priv)
183 183
184/* this function finds or creates an originator entry for the given 184/* this function finds or creates an originator entry for the given
185 * address if it does not exits */ 185 * address if it does not exits */
186struct orig_node *get_orig_node(struct bat_priv *bat_priv, uint8_t *addr) 186struct orig_node *get_orig_node(struct bat_priv *bat_priv, const uint8_t *addr)
187{ 187{
188 struct orig_node *orig_node; 188 struct orig_node *orig_node;
189 int size; 189 int size;