summaryrefslogtreecommitdiff
path: root/net/batman-adv/packet.h
diff options
context:
space:
mode:
authorAl Viro <viro@ZenIV.linux.org.uk>2012-04-22 10:44:27 +0400
committerAntonio Quartulli <ordex@autistici.org>2012-06-18 20:01:03 +0400
commitf25bd58a9d95481e81a09a3a88c4a3f3ab38609f (patch)
tree659d34ff5de3fe316534a47e82e2f0765b83ffc1 /net/batman-adv/packet.h
parent5346c35ebfbdb1727e60079456dd8071cb888059 (diff)
downloadlinux-f25bd58a9d95481e81a09a3a88c4a3f3ab38609f.tar.xz
batman-adv: don't bother flipping ->tt_data
just keep it net-endian all along Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> [lindner_marek@yahoo.de: fix checkpatch warnings] Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'net/batman-adv/packet.h')
-rw-r--r--net/batman-adv/packet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/packet.h b/net/batman-adv/packet.h
index 5bf567b52534..372fc889832a 100644
--- a/net/batman-adv/packet.h
+++ b/net/batman-adv/packet.h
@@ -206,7 +206,7 @@ struct tt_query_packet {
* if TT_REQUEST: crc associated with the
* ttvn
* if TT_RESPONSE: table_size */
- uint16_t tt_data;
+ __be16 tt_data;
} __packed;
struct roam_adv_packet {