From 5023fb2558e98d84e2eb680b4696bdbd4b952e2d Mon Sep 17 00:00:00 2001 From: Reyk Floeter Date: Sat, 19 Mar 2005 17:27:47 +0000 Subject: further fixes for ar5212. --- sys/dev/ic/ath.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sys/dev/ic/ath.c') 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; } -- cgit v1.2.3