PERFORCE change 151682 for review

Sam Leffler sam at FreeBSD.org
Tue Oct 21 20:16:13 UTC 2008


http://perforce.freebsd.org/chv.cgi?CH=151682

Change 151682 by sam at 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;
 	}


More information about the p4-projects mailing list