]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rt2x00: Fix padding bug on L2PAD devices.
authorGertjan van Wingerde <gwingerde@gmail.com>
Tue, 24 Nov 2009 22:11:32 +0000 (23:11 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 4 Dec 2009 18:30:39 +0000 (13:30 -0500)
commita5186e997524578b4ba91390ad947c767450dac8
treec51035546554ca6866e4c937d4e627a54f1232e5
parent1014eb6ec95b18f890101e99385f05539c0c2f01
rt2x00: Fix padding bug on L2PAD devices.

While reviewing the l2pad function to align both the header and the payload
on a DMA-capable boundary a bug was discovered where the payload would not
be properly aligned. The header_align value was used where the payload_align
value should have been used.

Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00queue.c