libertas: Byteswap cmdptr->size in lbs_cmd()
authorDavid Woodhouse <dwmw2@infradead.org>
Thu, 6 Dec 2007 12:38:31 +0000 (12:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:06:06 +0000 (15:06 -0800)
commit6228c0aea544f5292977e6b27cd231a4ea137a62
tree383a6bd632b6b7b3e993167059a54afa096476bd
parentad9de29130599d4be3467932643797da3b9869f6
libertas: Byteswap cmdptr->size in lbs_cmd()

Bad Holger. Always test on big-endian machines, if it's little-endian
you need to be swapping to/from.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/cmd.c