mac80211: warn when receiving frames with unaligned data
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 18 Dec 2007 14:11:35 +0000 (15:11 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Dec 2007 03:36:32 +0000 (19:36 -0800)
commit81100eb80add328c4d2a377326f15aa0e7236398
tree03b8f14120b8c2aece64bc7f13d52cb4a190b091
parent0d17440688ad83de46e94e9fa11edb5a7fb3d180
mac80211: warn when receiving frames with unaligned data

This patch makes mac80211 warn (once) when the driver passes up a
frame in which the payload data is not aligned on a four-byte
boundary, with a long comment for people who run into the condition
and need to know what to do.

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