mac80211: mesh: print MAC address instead of pointer
authorJohannes Berg <johannes.berg@intel.com>
Fri, 6 Nov 2015 10:30:46 +0000 (11:30 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 4 Dec 2015 13:43:32 +0000 (14:43 +0100)
There's no point in printing the mpath pointer since it can't
be used for anything - print the MAC address instead (like in
the forwarding case.)

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Acked-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mesh_pathtbl.c

index b3b44a5dd375c3a4bc391e29de21ae702a62418d..dadf8dc6f1cfdceb762cabcf057e2e485ad853e8 100644 (file)
@@ -968,8 +968,8 @@ int mesh_path_send_to_gates(struct mesh_path *mpath)
                        copy = true;
                } else {
                        mpath_dbg(sdata,
-                                 "Not forwarding %p (flags %#x)\n",
-                                 gate->mpath, gate->mpath->flags);
+                                 "Not forwarding to %pM (flags %#x)\n",
+                                 gate->mpath->dst, gate->mpath->flags);
                }
        }