On Wed, Nov 09, 2005 at 08:17:14PM +0100, Alexandre wrote:
> I have an atheros based card on my OpenBSD 3.8.
> When I activate it, I have this error message
> 
> ath0: bogus xmit rate 0x0
> 

could you please try it with the following patch for ath again? it
won't fix the problem, it just adds additional information for me.

reyk

Index: ath.c
===================================================================
RCS file: /cvs/src/sys/dev/ic/ath.c,v
retrieving revision 1.42
diff -u -p -r1.42 ath.c
--- ath.c       23 Sep 2005 20:06:50 -0000      1.42
+++ ath.c       11 Nov 2005 14:04:56 -0000
@@ -2281,8 +2281,9 @@ ath_tx_start(struct ath_softc *sc, struc
                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;

Reply via email to