diff options
author | Holger Schurig <hs4233@mail.mn-solutions.de> | 2009-10-22 09:30:45 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-27 16:48:35 -0400 |
commit | d37b4fdd43f7e5686c40181f33a50a7ee03ddbd8 (patch) | |
tree | dad775055633e1c7b2fca0912a056834a11515e9 /drivers/net/wireless/libertas/cmd.c | |
parent | 7f4013f09654216653121f216bd0257f460f5dcc (diff) |
libertas: remove unused 11d code
Most of the 11d code was protected with an "if (priv->enable11d)" clause.
But there was no code that anywhere that was able to set this
variable to true. So all 11d code was dead for almost a year and no one
complained. That's enought incentive to remove this code.
Besides removing old cruft, we gain back the 11d capability in a common way
when we merge the cfg80211 functionality.
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/cmd.c')
-rw-r--r-- | drivers/net/wireless/libertas/cmd.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/net/wireless/libertas/cmd.c b/drivers/net/wireless/libertas/cmd.c index 8841a0ecf3b8..4729895c6d0c 100644 --- a/drivers/net/wireless/libertas/cmd.c +++ b/drivers/net/wireless/libertas/cmd.c | |||
@@ -190,11 +190,6 @@ int lbs_update_hw_spec(struct lbs_private *priv) | |||
190 | goto out; | 190 | goto out; |
191 | } | 191 | } |
192 | 192 | ||
193 | if (lbs_set_universaltable(priv, 0)) { | ||
194 | ret = -1; | ||
195 | goto out; | ||
196 | } | ||
197 | |||
198 | out: | 193 | out: |
199 | lbs_deb_leave(LBS_DEB_CMD); | 194 | lbs_deb_leave(LBS_DEB_CMD); |
200 | return ret; | 195 | return ret; |
@@ -1511,11 +1506,6 @@ int lbs_prepare_and_send_command(struct lbs_private *priv, | |||
1511 | ret = 0; | 1506 | ret = 0; |
1512 | goto done; | 1507 | goto done; |
1513 | 1508 | ||
1514 | case CMD_802_11D_DOMAIN_INFO: | ||
1515 | ret = lbs_cmd_802_11d_domain_info(priv, cmdptr, | ||
1516 | cmd_no, cmd_action); | ||
1517 | break; | ||
1518 | |||
1519 | case CMD_802_11_TPC_CFG: | 1509 | case CMD_802_11_TPC_CFG: |
1520 | cmdptr->command = cpu_to_le16(CMD_802_11_TPC_CFG); | 1510 | cmdptr->command = cpu_to_le16(CMD_802_11_TPC_CFG); |
1521 | cmdptr->size = | 1511 | cmdptr->size = |