summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/libertas/cmdresp.c
diff options
context:
space:
mode:
authorHolger Schurig <hs4233@mail.mn-solutions.de>2007-08-02 21:07:15 +0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-11 03:50:01 +0400
commitcad9d9b17a4ab80da1593de004a1163b359de268 (patch)
tree8cd17f24d4d962af83c84165ae01874d50158e38 /drivers/net/wireless/libertas/cmdresp.c
parentb20c520763a6fe1aabde27f6ba017a67f22f90d5 (diff)
downloadlinux-cad9d9b17a4ab80da1593de004a1163b359de268.tar.xz
[PATCH] libertas: remove adapter->txrate
The value of txrate was only set by a CMD_802_11_TX_RATE_QUERY command, but there was no code in the driver that ever issued this command. Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> 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.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/libertas/cmdresp.c b/drivers/net/wireless/libertas/cmdresp.c
index affb1eeb6a5e..e91d819555eb 100644
--- a/drivers/net/wireless/libertas/cmdresp.c
+++ b/drivers/net/wireless/libertas/cmdresp.c
@@ -702,9 +702,6 @@ static inline int handle_cmd_response(u16 respcmd,
memcpy(adapter->cur_cmd->pdata_buf, &resp->params.mesh,
sizeof(resp->params.mesh));
break;
- case CMD_RET(CMD_802_11_TX_RATE_QUERY):
- priv->adapter->txrate = resp->params.txrate.txrate;
- break;
default:
lbs_deb_host("CMD_RESP: unknown cmd response 0x%04x\n",
resp->command);