]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
mac80211: fix alignment warning
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 11 Jan 2008 01:02:51 +0000 (02:02 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Feb 2008 03:26:34 +0000 (19:26 -0800)
commit691ba2346d5b88cec62fe8db0bf336a58a07b926
tree729d7d629d74c4eef8cafc781925a8f02efdf853
parent4bdb0fba9e53dc263eb9601404d097dd99e60f83
mac80211: fix alignment warning

When I introduced the alignment warning I forgot the A-MSDU case which
has a different requirement because each frame contains 14-byte 802.3
headers in front of the IP payload. This patch moves the alignment
warning to a place where we know whether we're dealing with an A-MSDU
frame and adjusts it accordingly.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mac80211/rx.c