mac80211: stringify another plink state
authorThomas Pedersen <thomas@cozybit.com>
Mon, 8 Apr 2013 18:06:16 +0000 (11:06 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 10 Apr 2013 18:24:15 +0000 (20:24 +0200)
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>
net/mac80211/mesh_plink.c

index 937e06f..cdd4183 100644 (file)
@@ -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;