summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2005-03-19 09:49:40 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2005-03-19 09:49:40 +0000
commitd0640add260d4fc1b99c7afb81fadd14dfc0f5f7 (patch)
treef7f4b70ac882daa0dec4af4e0b820654a19bde2c /sys/dev
parent02a2762bd95db4912e75314f99ebba03b58199f3 (diff)
scan channels 12, 13 and 14 too.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/ral.c4
-rw-r--r--sys/dev/usb/if_ral.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ic/ral.c b/sys/dev/ic/ral.c
index 673038933d9..ddc41b79441 100644
--- a/sys/dev/ic/ral.c
+++ b/sys/dev/ic/ral.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ral.c,v 1.36 2005/03/18 17:42:54 damien Exp $ */
+/* $OpenBSD: ral.c,v 1.37 2005/03/19 09:49:35 damien Exp $ */
/*-
* Copyright (c) 2005
@@ -403,7 +403,7 @@ ral_attach(struct ral_softc *sc)
ic->ic_sup_rates[IEEE80211_MODE_11G] = ral_rateset_11g;
/* set supported .11b and .11g channels (1 through 14) */
- for (i = 1; i <= 11; i++) {
+ for (i = 1; i <= 14; i++) {
ic->ic_channels[i].ic_freq =
ieee80211_ieee2mhz(i, IEEE80211_CHAN_2GHZ);
ic->ic_channels[i].ic_flags =
diff --git a/sys/dev/usb/if_ral.c b/sys/dev/usb/if_ral.c
index 753e2cc0e5e..77dfbab1667 100644
--- a/sys/dev/usb/if_ral.c
+++ b/sys/dev/usb/if_ral.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ral.c,v 1.11 2005/03/18 22:11:08 damien Exp $ */
+/* $OpenBSD: if_ral.c,v 1.12 2005/03/19 09:49:39 damien Exp $ */
/*-
* Copyright (c) 2005
@@ -430,7 +430,7 @@ USB_ATTACH(ural)
ic->ic_sup_rates[IEEE80211_MODE_11G] = ural_rateset_11g;
/* set supported .11b and .11g channels (1 through 14) */
- for (i = 1; i <= 11; i++) {
+ for (i = 1; i <= 14; i++) {
ic->ic_channels[i].ic_freq =
ieee80211_ieee2mhz(i, IEEE80211_CHAN_2GHZ);
ic->ic_channels[i].ic_flags =