summaryrefslogtreecommitdiff
path: root/sys/dev/ic/ar5212.c
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2006-09-19 13:14:33 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2006-09-19 13:14:33 +0000
commitd86e6c3bcbfeb0eb2e3bbab74e77a03f841d5b83 (patch)
treef80dba16806d5286267d7769c94d220f278de8ae /sys/dev/ic/ar5212.c
parent7f77fb4f0ca592db3e43f9585d51084e93df83ae (diff)
disable 11g mode for now
Diffstat (limited to 'sys/dev/ic/ar5212.c')
-rw-r--r--sys/dev/ic/ar5212.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/ic/ar5212.c b/sys/dev/ic/ar5212.c
index bac94483d70..ea2bfc57cab 100644
--- a/sys/dev/ic/ar5212.c
+++ b/sys/dev/ic/ar5212.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ar5212.c,v 1.29 2006/06/05 15:21:43 reyk Exp $ */
+/* $OpenBSD: ar5212.c,v 1.30 2006/09/19 13:14:32 reyk Exp $ */
/*
* Copyright (c) 2004, 2005 Reyk Floeter <reyk@openbsd.org>
@@ -2710,12 +2710,13 @@ ar5k_ar5212_get_capabilities(struct ath_hal *hal)
if (AR5K_EEPROM_HDR_11B(ee_header) || AR5K_EEPROM_HDR_11G(ee_header)) {
hal->ah_capabilities.cap_range.range_2ghz_min = 2412; /* 2312 */
hal->ah_capabilities.cap_range.range_2ghz_max = 2732;
- hal->ah_capabilities.cap_mode |= HAL_MODE_11B;
if (AR5K_EEPROM_HDR_11B(ee_header))
hal->ah_capabilities.cap_mode |= HAL_MODE_11B;
+#if 0
if (AR5K_EEPROM_HDR_11G(ee_header))
hal->ah_capabilities.cap_mode |= HAL_MODE_11G;
+#endif
}
/* GPIO */