Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Oct 2008 20:16:12 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 151682 for review
Message-ID:  <200810212016.m9LKGCxK058333@repoman.freebsd.org>

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

Change 151682 by sam@sam_ebb on 2008/10/21 20:15:57

	change unexpected/invalid state transition debug msgs to say
	"unexpected" and move to the state knob; there are several that
	are ok but it's not worth handling them specially just to silence
	the complaint

Affected files ...

.. //depot/projects/vap/sys/net80211/ieee80211_adhoc.c#18 edit
.. //depot/projects/vap/sys/net80211/ieee80211_sta.c#21 edit

Differences ...

==== //depot/projects/vap/sys/net80211/ieee80211_adhoc.c#18 (text+ko) ====

@@ -220,8 +220,8 @@
 		break;
 	default:
 	invalid:
-		IEEE80211_DPRINTF(vap, IEEE80211_MSG_ANY,
-		    "%s: invalid state transition %s -> %s\n", __func__,
+		IEEE80211_DPRINTF(vap, IEEE80211_MSG_STATE,
+		    "%s: unexpected state transition %s -> %s\n", __func__,
 		    ieee80211_state_name[ostate], ieee80211_state_name[nstate]);
 		break;
 	}

==== //depot/projects/vap/sys/net80211/ieee80211_sta.c#21 (text+ko) ====

@@ -411,8 +411,8 @@
 		break;
 	default:
 	invalid:
-		IEEE80211_DPRINTF(vap, IEEE80211_MSG_ANY,
-		    "%s: invalid state transition %s -> %s\n", __func__,
+		IEEE80211_DPRINTF(vap, IEEE80211_MSG_STATE,
+		    "%s: unexpected state transition %s -> %s\n", __func__,
 		    ieee80211_state_name[ostate], ieee80211_state_name[nstate]);
 		break;
 	}



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