libertas: store command result in cmdnode instead of priv->cur_cmd_retcode

... at least for users of __lbs_cmd().

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
David Woodhouse
2007-12-15 04:22:52 -05:00
committed by David S. Miller
parent 75567670c6
commit ae125bf827
3 changed files with 8 additions and 6 deletions

View File

@@ -74,6 +74,7 @@ struct cmd_header {
struct cmd_ctrl_node {
struct list_head list;
int result;
/* command response */
int (*callback)(struct lbs_private *, unsigned long, struct cmd_header *);
unsigned long callback_arg;