diff options
-rw-r--r-- | net/batman-adv/main.c | 4 | ||||
-rw-r--r-- | net/batman-adv/main.h | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/net/batman-adv/main.c b/net/batman-adv/main.c index d1183e882167..2cdd25a200bb 100644 --- a/net/batman-adv/main.c +++ b/net/batman-adv/main.c | |||
@@ -651,7 +651,7 @@ static struct batadv_tvlv_handler | |||
651 | /** | 651 | /** |
652 | * batadv_tvlv_container_free_ref - decrement the tvlv container refcounter and | 652 | * batadv_tvlv_container_free_ref - decrement the tvlv container refcounter and |
653 | * possibly free it | 653 | * possibly free it |
654 | * @tvlv_handler: the tvlv container to free | 654 | * @tvlv: the tvlv container to free |
655 | */ | 655 | */ |
656 | static void batadv_tvlv_container_free_ref(struct batadv_tvlv_container *tvlv) | 656 | static void batadv_tvlv_container_free_ref(struct batadv_tvlv_container *tvlv) |
657 | { | 657 | { |
@@ -800,7 +800,7 @@ void batadv_tvlv_container_register(struct batadv_priv *bat_priv, | |||
800 | * requested packet size | 800 | * requested packet size |
801 | * @packet_buff: packet buffer | 801 | * @packet_buff: packet buffer |
802 | * @packet_buff_len: packet buffer size | 802 | * @packet_buff_len: packet buffer size |
803 | * @packet_min_len: requested packet minimum size | 803 | * @min_packet_len: requested packet minimum size |
804 | * @additional_packet_len: requested additional packet size on top of minimum | 804 | * @additional_packet_len: requested additional packet size on top of minimum |
805 | * size | 805 | * size |
806 | * | 806 | * |
diff --git a/net/batman-adv/main.h b/net/batman-adv/main.h index a1fcd884f0b1..2a59b0455e0a 100644 --- a/net/batman-adv/main.h +++ b/net/batman-adv/main.h | |||
@@ -92,9 +92,8 @@ | |||
92 | /* numbers of originator to contact for any PUT/GET DHT operation */ | 92 | /* numbers of originator to contact for any PUT/GET DHT operation */ |
93 | #define BATADV_DAT_CANDIDATES_NUM 3 | 93 | #define BATADV_DAT_CANDIDATES_NUM 3 |
94 | 94 | ||
95 | /** | 95 | /* BATADV_TQ_SIMILARITY_THRESHOLD - TQ points that a secondary metric can differ |
96 | * BATADV_TQ_SIMILARITY_THRESHOLD - TQ points that a secondary metric can differ | 96 | * at most from the primary one in order to be still considered acceptable |
97 | * at most from the primary one in order to be still considered acceptable | ||
98 | */ | 97 | */ |
99 | #define BATADV_TQ_SIMILARITY_THRESHOLD 50 | 98 | #define BATADV_TQ_SIMILARITY_THRESHOLD 50 |
100 | 99 | ||