batman-adv: don't bother flipping ->tt_data
authorAl Viro <viro@ZenIV.linux.org.uk>
Sun, 22 Apr 2012 06:44:27 +0000 (07:44 +0100)
committerAntonio Quartulli <ordex@autistici.org>
Mon, 18 Jun 2012 16:01:03 +0000 (18:01 +0200)
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>
net/batman-adv/packet.h
net/batman-adv/routing.c
net/batman-adv/translation-table.c

index 5bf567b..372fc88 100644 (file)
@@ -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 {
Simple merge
Simple merge