aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRon Rindjunsky <ron.rindjunsky@intel.com>2008-01-21 12:39:11 +0200
committerDavid S. Miller <davem@davemloft.net>2008-01-28 15:10:45 -0800
commita8b47ea3c583645977a916ab3e2d323c7504aa7b (patch)
treeaa9f61fc6d806cb8b5689df559e362f95b5485e7
parentb43: Add more N-PHY init code (diff)
downloadlinux-dev-a8b47ea3c583645977a916ab3e2d323c7504aa7b.tar.xz
linux-dev-a8b47ea3c583645977a916ab3e2d323c7504aa7b.zip
mac80211: fixing ieee80211_bar types
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>
-rw-r--r--include/linux/ieee80211.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
index 4d5a4c9dcba7..5de6d911cdf7 100644
--- a/include/linux/ieee80211.h
+++ b/include/linux/ieee80211.h
@@ -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));
/**