PERFORCE change 138110 for review
    Sam Leffler 
    sam at FreeBSD.org
       
    Wed Mar 19 17:08:57 UTC 2008
    
    
  
http://perforce.freebsd.org/chv.cgi?CH=138110
Change 138110 by sam at 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;
    
    
More information about the p4-projects
mailing list