diff options
author | Dan Williams <dcbw@redhat.com> | 2010-07-27 15:56:44 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-07-27 15:07:30 -0400 |
commit | 49a08af5b9aa91207e3654ca3c88ca4d2596601c (patch) | |
tree | 26cd4477ba9a66a617aed82ed1a5ac435a5a6190 /drivers/net/wireless/libertas/cmdresp.c | |
parent | cc4b9d3928d682c4a15690c2bd9ed11c2eac5921 (diff) |
libertas: remove unused indirect TPC_CFG command leftovers
These were no longer used but were left around; Transmit Power
Control is done through the lbs_set_tpc_cfg() function.
Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/cmdresp.c')
-rw-r--r-- | drivers/net/wireless/libertas/cmdresp.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/net/wireless/libertas/cmdresp.c b/drivers/net/wireless/libertas/cmdresp.c index 35b8ceb4f09d..6bc40c6a243f 100644 --- a/drivers/net/wireless/libertas/cmdresp.c +++ b/drivers/net/wireless/libertas/cmdresp.c | |||
@@ -125,13 +125,6 @@ static inline int handle_cmd_response(struct lbs_private *priv, | |||
125 | case CMD_RET(CMD_802_11_BEACON_STOP): | 125 | case CMD_RET(CMD_802_11_BEACON_STOP): |
126 | break; | 126 | break; |
127 | 127 | ||
128 | case CMD_RET(CMD_802_11_TPC_CFG): | ||
129 | spin_lock_irqsave(&priv->driver_lock, flags); | ||
130 | memmove((void *)priv->cur_cmd->callback_arg, &resp->params.tpccfg, | ||
131 | sizeof(struct cmd_ds_802_11_tpc_cfg)); | ||
132 | spin_unlock_irqrestore(&priv->driver_lock, flags); | ||
133 | break; | ||
134 | |||
135 | case CMD_RET(CMD_BT_ACCESS): | 128 | case CMD_RET(CMD_BT_ACCESS): |
136 | spin_lock_irqsave(&priv->driver_lock, flags); | 129 | spin_lock_irqsave(&priv->driver_lock, flags); |
137 | if (priv->cur_cmd->callback_arg) | 130 | if (priv->cur_cmd->callback_arg) |