diff options
author | Holger Schurig <hs4233@mail.mn-solutions.de> | 2008-03-26 04:57:45 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-03-27 16:03:19 -0400 |
commit | 62436138c83f221943c1f5d9cff41305d3d26ac4 (patch) | |
tree | 815268cd5f3519c018d1cfe079ac85b7ddf41dc5 /drivers/net/wireless/libertas/cmdresp.c | |
parent | c2b310a73b62f074b0019b940417cafbdbafde41 (diff) |
libertas: remove CMD_802_11_PWR_CFG
This has nowhere been used. Note: in the firmware manual this was
documented as CMD_802_11_PA_CFG. If we ever need it, we can/should
re-implement it as a direct command.
Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Acked-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 | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/net/wireless/libertas/cmdresp.c b/drivers/net/wireless/libertas/cmdresp.c index 888f92d8afc9..711f5ebd13c0 100644 --- a/drivers/net/wireless/libertas/cmdresp.c +++ b/drivers/net/wireless/libertas/cmdresp.c | |||
@@ -397,14 +397,6 @@ static inline int handle_cmd_response(struct lbs_private *priv, | |||
397 | spin_unlock_irqrestore(&priv->driver_lock, flags); | 397 | spin_unlock_irqrestore(&priv->driver_lock, flags); |
398 | break; | 398 | break; |
399 | 399 | ||
400 | case CMD_RET(CMD_802_11_PWR_CFG): | ||
401 | spin_lock_irqsave(&priv->driver_lock, flags); | ||
402 | memmove((void *)priv->cur_cmd->callback_arg, &resp->params.pwrcfg, | ||
403 | sizeof(struct cmd_ds_802_11_pwr_cfg)); | ||
404 | spin_unlock_irqrestore(&priv->driver_lock, flags); | ||
405 | |||
406 | break; | ||
407 | |||
408 | case CMD_RET(CMD_GET_TSF): | 400 | case CMD_RET(CMD_GET_TSF): |
409 | spin_lock_irqsave(&priv->driver_lock, flags); | 401 | spin_lock_irqsave(&priv->driver_lock, flags); |
410 | memcpy((void *)priv->cur_cmd->callback_arg, | 402 | memcpy((void *)priv->cur_cmd->callback_arg, |