summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Pedersen <thomas@cozybit.com>2013-04-08 11:06:16 -0700
committerJohannes Berg <johannes.berg@intel.com>2013-04-10 20:24:15 +0200
commit3088f7d2db42925808c4b43a6258647ee4d1dd5f (patch)
tree1ab4fe7f02604e9e9ddd0a1841bc033a9f214a86
parent9d6d6f4924133567a108a862d9cf949cd03f71cb (diff)
downloadop-kernel-dev-3088f7d2db42925808c4b43a6258647ee4d1dd5f.zip
op-kernel-dev-3088f7d2db42925808c4b43a6258647ee4d1dd5f.tar.gz
mac80211: stringify another plink state
The patch "mac80211: stringify mesh peering events" missed an opportunity to print the peering state as a string. Signed-off-by: Thomas Pedersen <thomas@cozybit.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
-rw-r--r--net/mac80211/mesh_plink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/mesh_plink.c b/net/mac80211/mesh_plink.c
index 937e06f..cdd4183 100644
--- a/net/mac80211/mesh_plink.c
+++ b/net/mac80211/mesh_plink.c
@@ -544,8 +544,8 @@ static void mesh_plink_timer(unsigned long data)
return;
}
mpl_dbg(sta->sdata,
- "Mesh plink timer for %pM fired on state %d\n",
- sta->sta.addr, sta->plink_state);
+ "Mesh plink timer for %pM fired on state %s\n",
+ sta->sta.addr, mplstates[sta->plink_state]);
reason = 0;
llid = sta->llid;
plid = sta->plid;
OpenPOWER on IntegriCloud