diff options
author | Sven Eckelmann <sven@narfation.org> | 2012-05-16 14:23:22 -0400 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2012-06-28 02:44:48 -0400 |
commit | 3e34819e0eafaa6c873e9704bb478c0cdd6bb481 (patch) | |
tree | b8f8d24ca23a92bd235ae06342e33ddab7811508 /net/batman-adv/translation-table.c | |
parent | ee11ad61f232c201ba62990aa490264220f834cd (diff) |
batman-adv: Prefix remaining function like macros with batadv_
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'net/batman-adv/translation-table.c')
-rw-r--r-- | net/batman-adv/translation-table.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/batman-adv/translation-table.c b/net/batman-adv/translation-table.c index c673b58f3ee1..074936f2d30a 100644 --- a/net/batman-adv/translation-table.c +++ b/net/batman-adv/translation-table.c | |||
@@ -1930,7 +1930,7 @@ static bool batadv_tt_check_roam_count(struct bat_priv *bat_priv, | |||
1930 | ROAMING_MAX_TIME)) | 1930 | ROAMING_MAX_TIME)) |
1931 | continue; | 1931 | continue; |
1932 | 1932 | ||
1933 | if (!atomic_dec_not_zero(&tt_roam_node->counter)) | 1933 | if (!batadv_atomic_dec_not_zero(&tt_roam_node->counter)) |
1934 | /* Sorry, you roamed too many times! */ | 1934 | /* Sorry, you roamed too many times! */ |
1935 | goto unlock; | 1935 | goto unlock; |
1936 | ret = true; | 1936 | ret = true; |
@@ -2162,7 +2162,7 @@ int batadv_tt_append_diff(struct bat_priv *bat_priv, | |||
2162 | 2162 | ||
2163 | /* if the changes have been sent often enough */ | 2163 | /* if the changes have been sent often enough */ |
2164 | if ((tt_num_changes < 0) && | 2164 | if ((tt_num_changes < 0) && |
2165 | (!atomic_dec_not_zero(&bat_priv->tt_ogm_append_cnt))) { | 2165 | (!batadv_atomic_dec_not_zero(&bat_priv->tt_ogm_append_cnt))) { |
2166 | batadv_tt_realloc_packet_buff(packet_buff, packet_buff_len, | 2166 | batadv_tt_realloc_packet_buff(packet_buff, packet_buff_len, |
2167 | packet_min_len, packet_min_len); | 2167 | packet_min_len, packet_min_len); |
2168 | tt_num_changes = 0; | 2168 | tt_num_changes = 0; |