Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 203911
b: refs/heads/master
c: d06956b
h: refs/heads/master
i:
  203909: 5388915
  203907: 1e685b9
  203903: 922ad8b
v: v3
  • Loading branch information
Dan Williams authored and John W. Linville committed Jul 27, 2010
1 parent d0ba438 commit cfbe85c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: 77ccdcf2e933d61176f67c4976f7ad4cbb9cb82a
refs/heads/master: d06956b535d040c98ce7932fb34f99df8f049ecf
6 changes: 2 additions & 4 deletions trunk/drivers/net/wireless/libertas/cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
#define CAL_NF(nf) ((s32)(-(s32)(nf)))
#define CAL_RSSI(snr, nf) ((s32)((s32)(snr) + CAL_NF(nf)))

static struct cmd_ctrl_node *lbs_get_cmd_ctrl_node(struct lbs_private *priv);

/**
* @brief Simple callback that copies response back into command
*
Expand Down Expand Up @@ -1207,7 +1205,7 @@ int lbs_free_cmd_buffer(struct lbs_private *priv)
* @param priv A pointer to struct lbs_private structure
* @return cmd_ctrl_node A pointer to cmd_ctrl_node structure or NULL
*/
static struct cmd_ctrl_node *lbs_get_cmd_ctrl_node(struct lbs_private *priv)
static struct cmd_ctrl_node *lbs_get_free_cmd_node(struct lbs_private *priv)
{
struct cmd_ctrl_node *tempnode;
unsigned long flags;
Expand Down Expand Up @@ -1578,7 +1576,7 @@ struct cmd_ctrl_node *__lbs_cmd_async(struct lbs_private *priv,
}
}

cmdnode = lbs_get_cmd_ctrl_node(priv);
cmdnode = lbs_get_free_cmd_node(priv);
if (cmdnode == NULL) {
lbs_deb_host("PREP_CMD: cmdnode is NULL\n");

Expand Down

0 comments on commit cfbe85c

Please sign in to comment.