Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 79231
b: refs/heads/master
c: ad12d0f
h: refs/heads/master
i:
  79229: 2b03fc4
  79227: 2562dd1
  79223: 7150102
  79215: f882cbb
  79199: 0423f4b
  79167: 9a2fa39
  79103: e53a420
v: v3
  • Loading branch information
David Woodhouse authored and David S. Miller committed Jan 28, 2008
1 parent df744ea commit f1a3189
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5ba2f8a0217cd6116fcbac056b360bb0db045379
refs/heads/master: ad12d0f418b7d3bbc6d1ccc4ff0858361cf0aafe
4 changes: 3 additions & 1 deletion trunk/drivers/net/wireless/libertas/cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1310,7 +1310,8 @@ void lbs_complete_command(struct lbs_private *priv, struct cmd_ctrl_node *cmd,
cmd->cmdwaitqwoken = 1;
wake_up_interruptible(&cmd->cmdwait_q);

__lbs_cleanup_and_insert_cmd(priv, cmd);
if (!cmd->callback)
__lbs_cleanup_and_insert_cmd(priv, cmd);
priv->cur_cmd = NULL;
}

Expand Down Expand Up @@ -2219,6 +2220,7 @@ int __lbs_cmd(struct lbs_private *priv, uint16_t command,
priv->cur_cmd_retcode = 0;
ret = -1;
}
__lbs_cleanup_and_insert_cmd(priv, cmdnode);
spin_unlock_irqrestore(&priv->driver_lock, flags);

done:
Expand Down

0 comments on commit f1a3189

Please sign in to comment.