mac80211: remove payload alignment warning
authorKalle Valo <kalle.valo@nokia.com>
Thu, 17 Dec 2009 12:54:57 +0000 (13:54 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 21 Dec 2009 23:56:09 +0000 (18:56 -0500)
commit59d9cb071d6209f2e8df2d16228cfdc7bab1f2d1
treeb4af81b665d46f877634b3d4f624dd8449c6274e
parent4a40ccf8140d6b973d8b02dd5467b1fd876c0654
mac80211: remove payload alignment warning

The payload alignment warning enabled by MAC80211_DEBUG_PACKET_ALIGNMENT is
difficult. To fix it, a firmware change is needed but in most cases that's
very difficult. So the benefit from the warning is low and most probably
it just creates more confusion for people who just enable all warnings
(like it did for me).

Remove the unaligned IP payload warning and the kconfig option. But
leave the unaligned packet warning, it will be enabled with
MAC80211_VERBOSE_DEBUG.

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