svn commit: r195576 - projects/mesh11s/sys/net80211
Sam Leffler
sam at FreeBSD.org
Fri Jul 10 18:34:20 UTC 2009
Author: sam
Date: Fri Jul 10 18:34:19 2009
New Revision: 195576
URL: http://svn.freebsd.org/changeset/base/195576
Log:
fix building w/o IEEE80211_DEBUG
Modified:
projects/mesh11s/sys/net80211/ieee80211_mesh.c
Modified: projects/mesh11s/sys/net80211/ieee80211_mesh.c
==============================================================================
--- projects/mesh11s/sys/net80211/ieee80211_mesh.c Fri Jul 10 18:24:02 2009 (r195575)
+++ projects/mesh11s/sys/net80211/ieee80211_mesh.c Fri Jul 10 18:34:19 2009 (r195576)
@@ -1576,11 +1576,10 @@ mesh_recv_action_meshpeering_close(struc
const struct ieee80211_frame *wh,
const uint8_t *frm, const uint8_t *efrm)
{
- struct ieee80211vap *vap = ni->ni_vap;
uint16_t args[3];
- IEEE80211_NOTE(vap, IEEE80211_MSG_ACTION | IEEE80211_MSG_MESH, ni,
- "%s", "recv PEER CLOSE");
+ IEEE80211_NOTE(ni->ni_vap, IEEE80211_MSG_ACTION | IEEE80211_MSG_MESH,
+ ni, "%s", "recv PEER CLOSE");
switch (ni->ni_mlstate) {
case IEEE80211_NODE_MESH_IDLE:
@@ -1979,11 +1978,9 @@ static void
mesh_peer_timeout_cb(void *arg)
{
struct ieee80211_node *ni = (struct ieee80211_node *)arg;
- struct ieee80211vap *vap = ni->ni_vap;
uint16_t args[3];
- IEEE80211_NOTE(vap,
- IEEE80211_MSG_MESH,
+ IEEE80211_NOTE(ni->ni_vap, IEEE80211_MSG_MESH,
ni, "mesh link timeout, state %d, retry counter %d",
ni->ni_mlstate, ni->ni_mlrcnt);
More information about the svn-src-projects
mailing list