Ivo van Doorn
d101f6496d
rt2x00: Fix ieee80211 payload alignment
...
As Johannes Berg indicated, the NET_IP_ALIGN doesn't
need to be used for ieee80211 frames. This means we
can simplify the alignment calculation to just
use the result of the header size modulus 4 as frame
alignment.
Furthermore we shouldn't use NET_IP_ALIGN in rt2x00usb
because it could be 0 on some architectures and we absolutely
need to have 2 bytes reserved for possible aligning.
Signed-off-by: Ivo van Doorn<IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-01-16 12:53:32 -05:00
..
2008-01-16 12:53:32 -05:00
2007-11-29 21:34:51 -05:00
2007-12-17 17:01:40 -05:00
2008-01-16 12:53:32 -05:00
2007-12-22 23:25:16 -05:00
2008-01-16 12:53:32 -05:00
2007-10-10 16:51:42 -07:00
2008-01-16 12:53:32 -05:00
2007-12-17 17:01:39 -05:00
2007-10-10 16:54:15 -07:00
2007-10-10 16:53:09 -07:00
2006-12-04 20:12:02 -05:00
2007-10-10 16:52:52 -07:00
2007-10-10 16:51:13 -07:00
2007-10-10 16:51:42 -07:00
2007-10-10 16:49:37 -07:00
2006-12-04 20:12:02 -05:00
2007-10-10 16:51:42 -07:00
2007-11-10 04:25:12 -05:00
2007-10-19 20:35:20 -07:00
2008-01-16 12:53:32 -05:00
2007-10-10 16:55:06 -07:00
2007-12-22 23:25:16 -05:00
2007-10-10 16:51:42 -07:00
2007-10-10 16:51:42 -07:00
2007-11-29 21:34:51 -05:00
2007-10-10 16:51:13 -07:00
2007-10-10 16:51:13 -07:00
2007-10-10 16:51:13 -07:00
2007-10-10 16:51:13 -07:00
2007-10-10 16:51:13 -07:00
2007-10-10 16:51:42 -07:00
2007-10-10 16:52:57 -07:00
2007-10-18 15:44:42 -04:00
2007-10-10 16:51:42 -07:00
2007-10-10 16:54:15 -07:00
2007-10-10 16:51:42 -07:00
2007-11-29 21:34:51 -05:00
2007-10-10 16:51:42 -07:00
2007-10-10 16:51:42 -07:00
2007-10-14 12:41:51 -07:00
2007-10-10 16:52:57 -07:00
2007-12-19 21:30:13 -05:00
2007-07-10 13:51:38 -04:00
2007-07-08 22:16:37 -04:00
2007-10-10 16:52:57 -07:00
2007-10-10 16:51:13 -07:00
2007-11-07 04:14:24 -08:00
2007-10-10 16:51:42 -07:00
2007-05-09 07:14:03 +02:00
2007-10-10 16:51:42 -07:00
2007-02-14 15:45:04 -05:00
2007-10-10 16:51:42 -07:00
2007-10-18 15:21:47 -04:00