summaryrefslogtreecommitdiff
path: root/sys/dev/ic/ath.c
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2005-03-19 17:27:47 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2005-03-19 17:27:47 +0000
commit5023fb2558e98d84e2eb680b4696bdbd4b952e2d (patch)
tree886eac1c5be6d52ed41eb862057e4e3a1a532265 /sys/dev/ic/ath.c
parent92f86cf6541a5bfb8abd1fc903ab64381d02d64c (diff)
further fixes for ar5212.
Diffstat (limited to 'sys/dev/ic/ath.c')
-rw-r--r--sys/dev/ic/ath.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/ic/ath.c b/sys/dev/ic/ath.c
index 9e6a36eb597..87647fff906 100644
--- a/sys/dev/ic/ath.c
+++ b/sys/dev/ic/ath.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ath.c,v 1.15 2005/03/18 21:37:56 reyk Exp $ */
+/* $OpenBSD: ath.c,v 1.16 2005/03/19 17:27:46 reyk Exp $ */
/* $NetBSD: ath.c,v 1.37 2004/08/18 21:59:39 dyoung Exp $ */
/*-
@@ -2988,8 +2988,9 @@ ath_getchannels(struct ath_softc *sc, u_int cc, HAL_BOOL outdoor,
free(chans, M_TEMP);
if (sc->sc_nchan < 1) {
- if_printf(ifp, "no valid channels for regdomain %s\n",
- ieee80211_regdomain2name(ath_regdomain));
+ if_printf(ifp, "no valid channels for regdomain %s(%u)\n",
+ ieee80211_regdomain2name(ath_regdomain),
+ sc->sc_ah->ah_capabilities.cap_eeprom.ee_regdomain);
return ENOENT;
}