diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2005-11-11 14:11:41 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2005-11-11 14:11:41 +0000 |
commit | 0580361389134875b9fadbfd12b7162e993545d1 (patch) | |
tree | 92456d24fe5896ac056aecac7b945036603c0621 /sys/dev/ic/ath.c | |
parent | 78bbeaf30bdd3b6efaa9f9a7e192a86ede5aff6d (diff) |
more verbose error message for the "bogus xmit rate" problem
Diffstat (limited to 'sys/dev/ic/ath.c')
-rw-r--r-- | sys/dev/ic/ath.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/ic/ath.c b/sys/dev/ic/ath.c index 2ef9b736699..a400e8d34a7 100644 --- a/sys/dev/ic/ath.c +++ b/sys/dev/ic/ath.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ath.c,v 1.42 2005/09/23 20:06:50 reyk Exp $ */ +/* $OpenBSD: ath.c,v 1.43 2005/11/11 14:11:40 reyk Exp $ */ /* $NetBSD: ath.c,v 1.37 2004/08/18 21:59:39 dyoung Exp $ */ /*- @@ -2281,8 +2281,9 @@ ath_tx_start(struct ath_softc *sc, struct ieee80211_node *ni, rix = sc->sc_rixmap[ni->ni_rates.rs_rates[ni->ni_txrate] & IEEE80211_RATE_VAL]; if (rix == 0xff) { - printf("%s: bogus xmit rate 0x%x\n", ifp->if_xname, - ni->ni_rates.rs_rates[ni->ni_txrate]); + printf("%s: bogus xmit rate 0x%x (idx 0x%x)\n", + ifp->if_xname, ni->ni_rates.rs_rates[ni->ni_txrate], + ni->ni_txrate); sc->sc_stats.ast_tx_badrate++; m_freem(m0); return EIO; |