diff options
author | Dan Williams <dcbw@redhat.com> | 2010-07-27 16:16:24 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-07-27 15:14:12 -0400 |
commit | d06956b535d040c98ce7932fb34f99df8f049ecf (patch) | |
tree | 51780fd3b87d2d38abb3b77112b7ea0b2910462e /drivers | |
parent | 77ccdcf2e933d61176f67c4976f7ad4cbb9cb82a (diff) |
libertas: rename lbs_get_cmd_ctrl_node() to lbs_get_free_cmd_node()
Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/libertas/cmd.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/wireless/libertas/cmd.c b/drivers/net/wireless/libertas/cmd.c index 4946bce23263..70745928f3f8 100644 --- a/drivers/net/wireless/libertas/cmd.c +++ b/drivers/net/wireless/libertas/cmd.c | |||
@@ -15,8 +15,6 @@ | |||
15 | #define CAL_NF(nf) ((s32)(-(s32)(nf))) | 15 | #define CAL_NF(nf) ((s32)(-(s32)(nf))) |
16 | #define CAL_RSSI(snr, nf) ((s32)((s32)(snr) + CAL_NF(nf))) | 16 | #define CAL_RSSI(snr, nf) ((s32)((s32)(snr) + CAL_NF(nf))) |
17 | 17 | ||
18 | static struct cmd_ctrl_node *lbs_get_cmd_ctrl_node(struct lbs_private *priv); | ||
19 | |||
20 | /** | 18 | /** |
21 | * @brief Simple callback that copies response back into command | 19 | * @brief Simple callback that copies response back into command |
22 | * | 20 | * |
@@ -1207,7 +1205,7 @@ done: | |||
1207 | * @param priv A pointer to struct lbs_private structure | 1205 | * @param priv A pointer to struct lbs_private structure |
1208 | * @return cmd_ctrl_node A pointer to cmd_ctrl_node structure or NULL | 1206 | * @return cmd_ctrl_node A pointer to cmd_ctrl_node structure or NULL |
1209 | */ | 1207 | */ |
1210 | static struct cmd_ctrl_node *lbs_get_cmd_ctrl_node(struct lbs_private *priv) | 1208 | static struct cmd_ctrl_node *lbs_get_free_cmd_node(struct lbs_private *priv) |
1211 | { | 1209 | { |
1212 | struct cmd_ctrl_node *tempnode; | 1210 | struct cmd_ctrl_node *tempnode; |
1213 | unsigned long flags; | 1211 | unsigned long flags; |
@@ -1578,7 +1576,7 @@ struct cmd_ctrl_node *__lbs_cmd_async(struct lbs_private *priv, | |||
1578 | } | 1576 | } |
1579 | } | 1577 | } |
1580 | 1578 | ||
1581 | cmdnode = lbs_get_cmd_ctrl_node(priv); | 1579 | cmdnode = lbs_get_free_cmd_node(priv); |
1582 | if (cmdnode == NULL) { | 1580 | if (cmdnode == NULL) { |
1583 | lbs_deb_host("PREP_CMD: cmdnode is NULL\n"); | 1581 | lbs_deb_host("PREP_CMD: cmdnode is NULL\n"); |
1584 | 1582 | ||