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:

committed by
David S. Miller

parent
75567670c6
commit
ae125bf827
@@ -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;
|
||||
|
Reference in New Issue
Block a user