]> err.no Git - linux-2.6/commit
libertas: fix data packet size errors
authorHolger Schurig <hs4233@mail.mn-solutions.de>
Thu, 6 Dec 2007 12:50:30 +0000 (13:50 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:06:08 +0000 (15:06 -0800)
commit09d4fad6e8972061fbb0e2e5ae9e686d84f57af6
tree48c5151452013f7b551cf38743bebf26cf535a08
parentabe3ed14d39adcea9ae186cf741b15d11544458f
libertas: fix data packet size errors

I wondered about junk bytes at the end when using "lbsdebug +hex +host"
until I noticed that firmware for the CF card sends my extranous bytes.
It says "I have 20 bytes", I take 20 bytes, but the last 8 bytes of this
are just data junk.

Also, in the new lbs_cmd() where was a size miscalulation
that made itself clear after fixing this bug.

Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/cmdresp.c
drivers/net/wireless/libertas/if_cs.c