summaryrefslogtreecommitdiffstats
path: root/sys/dev/ic/ath.c
diff options
context:
space:
mode:
authorreyk <reyk@openbsd.org>2006-09-19 16:46:39 +0000
committerreyk <reyk@openbsd.org>2006-09-19 16:46:39 +0000
commit056d406a17ea411894920dcfe467bea873602526 (patch)
tree8b92a1af8bef5aad665d0807c5f54352465b65dd /sys/dev/ic/ath.c
parentbetter mode setup in the ar5211 and ar5212 reset functions (diff)
downloadwireguard-openbsd-056d406a17ea411894920dcfe467bea873602526.tar.xz
wireguard-openbsd-056d406a17ea411894920dcfe467bea873602526.zip
"pure g" is a special, non-standard ofdm-only mode. use the standard
dynamic cck/ofdm "11g" mode instead.
Diffstat (limited to 'sys/dev/ic/ath.c')
-rw-r--r--sys/dev/ic/ath.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/ath.c b/sys/dev/ic/ath.c
index eddf1fd0447..45baf74d351 100644
--- a/sys/dev/ic/ath.c
+++ b/sys/dev/ic/ath.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ath.c,v 1.53 2006/09/19 13:25:54 reyk Exp $ */
+/* $OpenBSD: ath.c,v 1.54 2006/09/19 16:46:39 reyk Exp $ */
/* $NetBSD: ath.c,v 1.37 2004/08/18 21:59:39 dyoung Exp $ */
/*-
@@ -670,7 +670,7 @@ ath_chan2flags(struct ieee80211com *ic, struct ieee80211_channel *chan)
case IEEE80211_MODE_11B:
return CHANNEL_B;
case IEEE80211_MODE_11G:
- return CHANNEL_PUREG;
+ return CHANNEL_G;
case IEEE80211_MODE_TURBO:
return CHANNEL_T;
default: