staging: ft1000: Pseudo header handlig improved.
authorMarek Belisko <marek.belisko@gmail.com>
Tue, 2 Nov 2010 12:44:10 +0000 (13:44 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 10 Nov 2010 00:07:02 +0000 (16:07 -0800)
commitd2b07455b85d20c72e4182fe7d53d8c70838f984
tree86e6ccea2b1021a9a88b28bd4b6d68b5bf9b4d6d
parent019bd3f825a7fc438b1e9ce7d145b03f13102aee
staging: ft1000: Pseudo header handlig improved.

Handling for pseudo header was done by directly copying
data to tx buffer. This hide a functionality and make
code unreadable.

Use approach where fill pseudo_hdr structure first with data and then copy
to beginning of buffer.

Signed-off-by: Marek Belisko <marek.belisko@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/ft1000/ft1000-usb/ft1000_hw.c
This page took 0.024312 seconds and 5 git commands to generate.