Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Mar 2008 17:08:56 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 138110 for review
Message-ID:  <200803191708.m2JH8udo049019@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=138110

Change 138110 by sam@sam_ebb on 2008/03/19 17:08:29

	(finally) add the hal status to the diagnostic generated after
	a failed ath_hal_reset call

Affected files ...

.. //depot/projects/vap/sys/dev/ath/if_ath.c#47 edit

Differences ...

==== //depot/projects/vap/sys/dev/ath/if_ath.c#47 (text+ko) ====

@@ -5328,9 +5328,10 @@
 		ath_stoprecv(sc);		/* turn off frame recv */
 		if (!ath_hal_reset(ah, sc->sc_opmode, &hchan, AH_TRUE, &status)) {
 			if_printf(ic->ic_ifp, "%s: unable to reset "
-			    "channel %u (%u Mhz, flags 0x%x hal flags 0x%x)\n",
-			    __func__, ieee80211_chan2ieee(ic, chan),
-			    chan->ic_freq, chan->ic_flags, hchan.channelFlags);
+			    "channel %u (%u Mhz, flags 0x%x hal flags 0x%x), "
+			    "hal status %u\n", __func__,
+			    ieee80211_chan2ieee(ic, chan), chan->ic_freq,
+			    chan->ic_flags, hchan.channelFlags, status);
 			return EIO;
 		}
 		sc->sc_curchan = hchan;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803191708.m2JH8udo049019>