]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
libertas: fix buffer handling of PS_MODE commands and responses
authorDavid Woodhouse <dwmw2@infradead.org>
Mon, 17 Dec 2007 04:26:54 +0000 (23:26 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:07:40 +0000 (15:07 -0800)
commit38bfab1a01c66cb1a5001dc702b0856b2f942fd5
tree22ed117ba98a7a26fe4ed91ba3e04115853957e8
parentc6ad3738c689c2e64af2b74c1f407c9323ba40dd
libertas: fix buffer handling of PS_MODE commands and responses

Commit 5b8845345e7385d2eb37fac22ba9ab6905988be5 (or, in case the git
workflow is broken and patches get recommitted, the commit entitled
'libertas: rename and re-type bufvirtualaddr to cmdbuf' by dcbw),
introduced a number of bugs where we once had a pointer to a command
_payload_, but now we use the pointer to the command header instead.

The fix isn't wonderfully pretty for now, but it'll get better when we
finish converting all commands so the structures include the header.

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