summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2005-05-13 20:52:52 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2005-05-13 20:52:52 +0000
commit26da2da72cc5756117b0316f14321b922b4908d5 (patch)
tree716fc5f04fcbe4a21f94056ed78c3059568ee2ba
parent793e0be1778fc28dcddf20529e0aa8df41a4367c (diff)
should support channel 165 too in 802.11a mode.
-rw-r--r--sys/dev/pci/if_iwi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_iwi.c b/sys/dev/pci/if_iwi.c
index 1bdc51f1631..b29d1e53186 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.37 2005/05/13 20:24:59 damien Exp $ */
+/* $OpenBSD: if_iwi.c,v 1.38 2005/05/13 20:52:51 damien Exp $ */
/*-
* Copyright (c) 2004, 2005
@@ -265,7 +265,7 @@ iwi_attach(struct device *parent, struct device *self, void *aux)
ieee80211_ieee2mhz(i, IEEE80211_CHAN_5GHZ);
ic->ic_channels[i].ic_flags = IEEE80211_CHAN_A;
}
- for (i = 149; i <= 161; i += 4) {
+ for (i = 149; i <= 165; i += 4) {
ic->ic_channels[i].ic_freq =
ieee80211_ieee2mhz(i, IEEE80211_CHAN_5GHZ);
ic->ic_channels[i].ic_flags = IEEE80211_CHAN_A;