summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2005-04-17 13:49:10 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2005-04-17 13:49:10 +0000
commit8fe5e932595142dc93cc78f151474f597dcfea6a (patch)
tree55ea664ade9b3102654063f98b61e9377f511666
parentdcda2fe9f1aad29ca2e5b02846a6a7aa9a69601e (diff)
temporarly remove 802.11a channels from the set of supported channels until
i figure out why the firmware crashes when scanning in the 5.2GHz spectrum. this makes 2915ABG adapters work (b/g only).
-rw-r--r--sys/dev/pci/if_iwi.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/if_iwi.c b/sys/dev/pci/if_iwi.c
index ffd5f7aaed0..b13cc69a365 100644
--- a/sys/dev/pci/if_iwi.c
+++ b/sys/dev/pci/if_iwi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_iwi.c,v 1.35 2005/04/17 13:41:46 damien Exp $ */
+/* $OpenBSD: if_iwi.c,v 1.36 2005/04/17 13:49:09 damien Exp $ */
/*-
* Copyright (c) 2004, 2005
@@ -254,6 +254,7 @@ iwi_attach(struct device *parent, struct device *self, void *aux)
printf(", address %s\n", ether_sprintf(ic->ic_myaddr));
+#if 0
if (PCI_PRODUCT(pa->pa_id) >= PCI_PRODUCT_INTEL_PRO_WL_2915ABG_1) {
/* set supported .11a rates */
ic->ic_sup_rates[IEEE80211_MODE_11A] = iwi_rateset_11a;
@@ -270,6 +271,7 @@ iwi_attach(struct device *parent, struct device *self, void *aux)
ic->ic_channels[i].ic_flags = IEEE80211_CHAN_A;
}
}
+#endif
/* set supported .11b and .11g rates */
ic->ic_sup_rates[IEEE80211_MODE_11B] = iwi_rateset_11b;