mac80211: fixing ieee80211_bar types
authorRon Rindjunsky <ron.rindjunsky@intel.com>
Mon, 21 Jan 2008 10:39:11 +0000 (12:39 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:10:45 +0000 (15:10 -0800)
This patch changes ieee80211_bar control and start_seq_num to
match the proper bitwise attribute expected from ieee 802.11 frame

Signed-off-by: Ron Rindjunsky <ron.rindjunsky@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/linux/ieee80211.h

index 4d5a4c9dcba7ee1f02571a10db37a781857cdff9..5de6d911cdf7be1d8f7edf1b228fa70495e553e5 100644 (file)
@@ -237,8 +237,8 @@ struct ieee80211_bar {
        __le16 duration;
        __u8 ra[6];
        __u8 ta[6];
-       __u16 control;
-       __u16 start_seq_num;
+       __le16 control;
+       __le16 start_seq_num;
 } __attribute__((packed));
 
 /**