diff options
author | Marek Lindner <lindner_marek@yahoo.de> | 2011-07-29 17:31:50 +0200 |
---|---|---|
committer | Marek Lindner <lindner_marek@yahoo.de> | 2011-09-08 17:37:51 +0200 |
commit | b6da4bf5d7951aba4f86d65546474c4e718f650f (patch) | |
tree | 960ba68ea86c341ec938178f9c27a09cf151861c /net/batman-adv/aggregation.h | |
parent | a943cac144e035c21d4f1b31b95f15b33c33a480 (diff) |
batman-adv: rename all instances of batman_packet to batman_ogm_packet
The follow-up routing code changes are going to introduce additional
routing packet types which make this distinction necessary.
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Diffstat (limited to 'net/batman-adv/aggregation.h')
-rw-r--r-- | net/batman-adv/aggregation.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/aggregation.h b/net/batman-adv/aggregation.h index df4a5a94308..7fc23b028b2 100644 --- a/net/batman-adv/aggregation.h +++ b/net/batman-adv/aggregation.h @@ -28,7 +28,7 @@ static inline int aggregated_packet(int buff_pos, int packet_len, int tt_num_changes) { - int next_buff_pos = buff_pos + BAT_PACKET_LEN + tt_len(tt_num_changes); + int next_buff_pos = buff_pos + BATMAN_OGM_LEN + tt_len(tt_num_changes); return (next_buff_pos <= packet_len) && (next_buff_pos <= MAX_AGGREGATION_BYTES); |