]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf30f3cdbcbbae1f9f9ef3263d5cd0d67dce58c8b
treeb4af81b665d46f877634b3d4f624dd8449c6274e
parentdfcc09bedf0a519ba829882c2f7740e956cccc39
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