]> git.baikalelectronics.ru Git - kernel.git/commit
rt2x00: Fix trimming of L2 padded frames.
authorGertjan van Wingerde <gwingerde@gmail.com>
Fri, 4 Dec 2009 22:47:07 +0000 (23:47 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 21 Dec 2009 23:56:41 +0000 (18:56 -0500)
commit2b0811ddf20fc9c4b8cef0745354590193545cb6
tree214c1bad46269bb23d89f439d2ae6943b34c7702
parent0fcf76d69b10e59d43f39cf101013f80e2b3f3c6
rt2x00: Fix trimming of L2 padded frames.

Ensure that frames without payload are properly trimmed in
rt2x00queue_insert_l2pad.

This should fix the bug reported by Benoit Papillault in:
http://marc.info/?l=linux-wireless&m=125974773006734&w=2

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