rt2x00: Use the correct size when copying the control info in txdone
authorMattias Nissler <mattias.nissler@gmx.de>
Sun, 9 Mar 2008 21:39:32 +0000 (22:39 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 13 Mar 2008 20:02:34 +0000 (16:02 -0400)
commit95db4d4d5f00cc9b2aa703a05a70902776d8c2f2
tree74a4e6eab0918c1c0cf6b48cf7214a7768a9c709
parent92f5ac6320d74fbb7230626cb88141f3ec9a694c
rt2x00: Use the correct size when copying the control info in txdone

The sizeof() operator was incorrectly applied to the pointer, not the struct.

Signed-off-by: Mattias Nissler <mattias.nissler@gmx.de>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00dev.c