]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
libertas: Increase priority of 'unknown command' warnings
authorDavid Woodhouse <dwmw2@infradead.org>
Tue, 20 May 2008 10:47:16 +0000 (11:47 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 22 May 2008 01:47:37 +0000 (21:47 -0400)
commite37fc6e11c79899451e394319cff18cc53d6448d
treeb35c86f804ec3fbc5aa7ec6c7bb3fe631270e3d1
parentf9d1cf53cf9e934f15ce0371b5fd568407032ea2
libertas: Increase priority of 'unknown command' warnings

Using the deprecated lbs_prepare_and_send_command() function for a
command which it doesn't understand is an error; complain loudly about
it even when we're not debugging.

The mesh stats bug, where we converted MESH_ACCESS to a direct command
but accidentally missed one user which was still trying to do it through
lbs_prepare_and_send_command(), would have been caught a lot quicker if
we'd done this sooner. Such bugs aren't entirely unlikely in future too,
as we convert more code to stop using this function.

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