diff options
author | David Woodhouse <dwmw2@infradead.org> | 2007-12-17 23:04:37 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:07:48 -0500 |
commit | 6e5cc4fb35c45a8f8478d25c4e89e8d9c543056e (patch) | |
tree | 79b7c15a84df50b8dd19e5a9af873fd947fc7006 /drivers/net/wireless/libertas/cmdresp.c | |
parent | a7c458906542aacdda7289bb21f527a2dc4097ca (diff) |
libertas: convert INACTIVITY_TIMEOUT to a direct command
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
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 7c9ffc511b58..f7fb8c74014a 100644 --- a/drivers/net/wireless/libertas/cmdresp.c +++ b/drivers/net/wireless/libertas/cmdresp.c | |||
@@ -554,13 +554,6 @@ static inline int handle_cmd_response(struct lbs_private *priv, | |||
554 | case CMD_RET(CMD_802_11_SLEEP_PARAMS): | 554 | case CMD_RET(CMD_802_11_SLEEP_PARAMS): |
555 | ret = lbs_ret_802_11_sleep_params(priv, resp); | 555 | ret = lbs_ret_802_11_sleep_params(priv, resp); |
556 | break; | 556 | break; |
557 | case CMD_RET(CMD_802_11_INACTIVITY_TIMEOUT): | ||
558 | spin_lock_irqsave(&priv->driver_lock, flags); | ||
559 | *((uint16_t *) priv->cur_cmd->callback_arg) = | ||
560 | le16_to_cpu(resp->params.inactivity_timeout.timeout); | ||
561 | spin_unlock_irqrestore(&priv->driver_lock, flags); | ||
562 | break; | ||
563 | |||
564 | case CMD_RET(CMD_802_11_TPC_CFG): | 557 | case CMD_RET(CMD_802_11_TPC_CFG): |
565 | spin_lock_irqsave(&priv->driver_lock, flags); | 558 | spin_lock_irqsave(&priv->driver_lock, flags); |
566 | memmove((void *)priv->cur_cmd->callback_arg, &resp->params.tpccfg, | 559 | memmove((void *)priv->cur_cmd->callback_arg, &resp->params.tpccfg, |