diff options
author | Al Viro <viro@ZenIV.linux.org.uk> | 2012-04-22 07:45:29 +0100 |
---|---|---|
committer | Antonio Quartulli <ordex@autistici.org> | 2012-06-18 18:01:04 +0200 |
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 372fc889832..033d99490e8 100644 --- a/net/batman-adv/packet.h +++ b/net/batman-adv/packet.h @@ -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) |