mac80211: fix alignment calculation bug
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 20 Apr 2009 23:36:59 +0000 (01:36 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 21 Apr 2009 20:43:33 +0000 (16:43 -0400)
commitd1bcb9f1273adee6d2ce5edf84f19409a5cc31b9
tree28f9aea8fae6c4835acd1be486775853417ec181
parent7d42081a271bd8a82f2100524085c4f029e47717
mac80211: fix alignment calculation bug

When checking whether or not a given frame needs to be
moved to be properly aligned to a 4-byte boundary, we
use & 4 which wasn't intended, this code should check
the lowest two bits.

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