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>
This commit is contained in:

committed by
Antonio Quartulli

parent
f25bd58a9d
commit
16a703459b
@@ -124,7 +124,7 @@ struct batman_ogm_packet {
|
||||
uint8_t tq;
|
||||
uint8_t tt_num_changes;
|
||||
uint8_t ttvn; /* translation table version number */
|
||||
uint16_t tt_crc;
|
||||
__be16 tt_crc;
|
||||
} __packed;
|
||||
|
||||
#define BATMAN_OGM_HLEN sizeof(struct batman_ogm_packet)
|
||||
|
Reference in New Issue
Block a user