summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordamien <damien@openbsd.org>2005-03-19 09:49:35 +0000
committerdamien <damien@openbsd.org>2005-03-19 09:49:35 +0000
commit9067b0a248e7e62eb103fef57ce433e94c02cc10 (patch)
tree1176d630196b8aa8dcf98332db5529c1068d9b1d
parentsync with latest RAMDISKB and RAMDISKC changes. (diff)
downloadwireguard-openbsd-9067b0a248e7e62eb103fef57ce433e94c02cc10.tar.xz
wireguard-openbsd-9067b0a248e7e62eb103fef57ce433e94c02cc10.zip
scan channels 12, 13 and 14 too.
-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 =