diff options
author | David Woodhouse <dwmw2@infradead.org> | 2007-12-11 23:42:49 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:06:59 -0500 |
commit | e1258177e437cb8b892622f2b7beedd4701540ac (patch) | |
tree | 35addee654285e88ec1b49526cf3473427500f1e /drivers/net/wireless/libertas/main.c | |
parent | 06113c1c70349f5f888436ac2af28c707f4602ef (diff) |
libertas: be more careful about command responses matching cur_cmd
Especially in the light of OLPC trac #5461, in which the firmware starts
sending us seemingly random command responses which bear little relation
to the command we sent it.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/main.c')
-rw-r--r-- | drivers/net/wireless/libertas/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/main.c b/drivers/net/wireless/libertas/main.c index bb685ac8e15e..cdf5934aaf8b 100644 --- a/drivers/net/wireless/libertas/main.c +++ b/drivers/net/wireless/libertas/main.c | |||
@@ -893,7 +893,7 @@ static void command_timer_fn(unsigned long data) | |||
893 | return; | 893 | return; |
894 | } | 894 | } |
895 | 895 | ||
896 | lbs_deb_fw("command_timer_fn fired, cmd %x\n", node->cmdbuf->command); | 896 | lbs_pr_info("command %x timed out\n", le16_to_cpu(node->cmdbuf->command)); |
897 | 897 | ||
898 | if (!priv->fw_ready) | 898 | if (!priv->fw_ready) |
899 | return; | 899 | return; |