summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/main.c
diff options
context:
space:
mode:
authorHolger Schurig <hs4233@mail.mn-solutions.de>2009-10-22 15:30:45 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-10-27 21:48:35 +0100
commitd37b4fdd43f7e5686c40181f33a50a7ee03ddbd8 (patch)
treedad775055633e1c7b2fca0912a056834a11515e9 /drivers/net/wireless/libertas/main.c
parentzd1211rw: Fix TX status reporting in order to have proper rate control (diff)
downloadlinux-d37b4fdd43f7e5686c40181f33a50a7ee03ddbd8.tar.xz
linux-d37b4fdd43f7e5686c40181f33a50a7ee03ddbd8.zip
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/main.c')
-rw-r--r--drivers/net/wireless/libertas/main.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/libertas/main.c b/drivers/net/wireless/libertas/main.c
index b7363236cc53..2f87659cc1d3 100644
--- a/drivers/net/wireless/libertas/main.c
+++ b/drivers/net/wireless/libertas/main.c
@@ -1408,9 +1408,6 @@ int lbs_start_card(struct lbs_private *priv)
if (ret)
goto done;
- /* init 802.11d */
- lbs_init_11d(priv);
-
if (lbs_cfg_register(priv)) {
lbs_pr_err("cannot register device\n");
goto done;