diff options
author | Al Viro <viro@ZenIV.linux.org.uk> | 2012-04-22 02:45:29 -0400 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2012-06-18 12:01:04 -0400 |
commit | 16a703459bb58aa873c5b36f42093f0f681628af (patch) | |
tree | cedf15e2d0c1a27114dbda6dbfe7c99a57ed37d2 /net/batman-adv/packet.h | |
parent | f25bd58a9d95481e81a09a3a88c4a3f3ab38609f (diff) |
batman-adv: don't bother flipping ->tt_crc
Keep it net-endian
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'net/batman-adv/packet.h')
-rw-r--r-- | net/batman-adv/packet.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/packet.h b/net/batman-adv/packet.h index 372fc889832a..033d99490e82 100644 --- a/net/batman-adv/packet.h +++ b/net/batman-adv/packet.h | |||
@@ -124,7 +124,7 @@ struct batman_ogm_packet { | |||
124 | uint8_t tq; | 124 | uint8_t tq; |
125 | uint8_t tt_num_changes; | 125 | uint8_t tt_num_changes; |
126 | uint8_t ttvn; /* translation table version number */ | 126 | uint8_t ttvn; /* translation table version number */ |
127 | uint16_t tt_crc; | 127 | __be16 tt_crc; |
128 | } __packed; | 128 | } __packed; |
129 | 129 | ||
130 | #define BATMAN_OGM_HLEN sizeof(struct batman_ogm_packet) | 130 | #define BATMAN_OGM_HLEN sizeof(struct batman_ogm_packet) |