Skip to content

Commit

Permalink
batman-adv: Prefix vis defines with BATADV_
Browse files Browse the repository at this point in the history
Reported-by: Martin Hundebøll <martin@hundeboll.net>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
  • Loading branch information
Sven Eckelmann authored and Antonio Quartulli committed Jun 28, 2012
1 parent 4d5d2db commit edbf7ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion net/batman-adv/vis.c
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@ static void batadv_purge_vis_packets(struct bat_priv *bat_priv)
continue;

if (batadv_has_timed_out(info->first_seen,
VIS_TIMEOUT)) {
BATADV_VIS_TIMEOUT)) {
hlist_del(node);
batadv_send_list_del(info);
kref_put(&info->refcount, batadv_free_info);
Expand Down
2 changes: 1 addition & 1 deletion net/batman-adv/vis.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#define _NET_BATMAN_ADV_VIS_H_

/* timeout of vis packets in miliseconds */
#define VIS_TIMEOUT 200000
#define BATADV_VIS_TIMEOUT 200000

int batadv_vis_seq_print_text(struct seq_file *seq, void *offset);
void batadv_receive_server_sync_packet(struct bat_priv *bat_priv,
Expand Down

0 comments on commit edbf7ff

Please sign in to comment.