svn commit: r192091 - projects/mesh11s/sys/net80211
Rui Paulo
rpaulo at FreeBSD.org
Thu May 14 10:43:00 UTC 2009
Author: rpaulo
Date: Thu May 14 10:42:59 2009
New Revision: 192091
URL: http://svn.freebsd.org/changeset/base/192091
Log:
Use the same format string for debugging peering frames.
Sponsored by: The FreeBSD Foundation
Modified:
projects/mesh11s/sys/net80211/ieee80211_output.c
Modified: projects/mesh11s/sys/net80211/ieee80211_output.c
==============================================================================
--- projects/mesh11s/sys/net80211/ieee80211_output.c Thu May 14 09:28:02 2009 (r192090)
+++ projects/mesh11s/sys/net80211/ieee80211_output.c Thu May 14 10:42:59 2009 (r192091)
@@ -677,7 +677,7 @@ ieee80211_send_action(struct ieee80211_n
case IEEE80211_ACTION_MESHPEERING_OPEN:
IEEE80211_NOTE(vap,
IEEE80211_MSG_ACTION | IEEE80211_MSG_MESH, ni,
- "send PEER OPEN action: lid %x", args[0]);
+ "send PEER OPEN action: localid 0x%x", args[0]);
ADDSHORT(frm, getcapinfo(vap, ni->ni_chan));
frm = ieee80211_add_rates(frm, rs);
frm = ieee80211_add_xrates(frm, rs);
@@ -702,8 +702,8 @@ ieee80211_send_action(struct ieee80211_n
case IEEE80211_ACTION_MESHPEERING_CONFIRM:
IEEE80211_NOTE(vap,
IEEE80211_MSG_ACTION | IEEE80211_MSG_MESH, ni,
- "send PEER CONFIRM action: lid %x, pid %x",
- args[0], args[1]);
+ "send PEER CONFIRM action: localid 0x%x, "
+ "peerid 0x%x", args[0], args[1]);
ADDSHORT(frm, getcapinfo(vap, ni->ni_chan));
ADDSHORT(frm, 0); /* status code */
ADDSHORT(frm, 0); /* AID */
@@ -726,8 +726,8 @@ ieee80211_send_action(struct ieee80211_n
case IEEE80211_ACTION_MESHPEERING_CLOSE:
IEEE80211_NOTE(vap,
IEEE80211_MSG_ACTION | IEEE80211_MSG_MESH, ni,
- "sending PEER CLOSE action: localid %x peerid %x "
- "reason %d", args[0], args[1], args[2]);
+ "sending PEER CLOSE action: localid 0x%x, "
+ "peerid 0x%x reason %d", args[0], args[1], args[2]);
ADDSHORT(frm, args[2]); /* reason code */
frm = ieee80211_add_meshid(frm, vap);
frm = ieee80211_add_meshpeer(frm,
More information about the svn-src-projects
mailing list