From 346dff7f25fadbdd882835a7f46f63d3d2735b8c Mon Sep 17 00:00:00 2001 From: mpi Date: Thu, 24 Jul 2014 08:23:12 +0000 Subject: [PATCH] Fix debug printf, from Nathanael Rensen and chris@. --- sys/net80211/ieee80211_pae_input.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/net80211/ieee80211_pae_input.c b/sys/net80211/ieee80211_pae_input.c index 7385ac5c7ba..42d1575b1a9 100644 --- a/sys/net80211/ieee80211_pae_input.c +++ b/sys/net80211/ieee80211_pae_input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ieee80211_pae_input.c,v 1.19 2014/07/22 11:06:10 mpi Exp $ */ +/* $OpenBSD: ieee80211_pae_input.c,v 1.20 2014/07/24 08:23:12 mpi Exp $ */ /*- * Copyright (c) 2007,2008 Damien Bergamini @@ -978,7 +978,8 @@ ieee80211_recv_group_msg2(struct ieee80211com *ic, /* discard if we're not expecting this message */ if (ni->ni_rsn_gstate != RSNA_REKEYNEGOTIATING) { - DPRINTF(("%s: unexpected in state: %d\n", ni->ni_rsn_gstate)); + DPRINTF(("%s: unexpected in state: %d\n", ic->ic_if.if_xname, + ni->ni_rsn_gstate)); return; } if (BE_READ_8(key->replaycnt) != ni->ni_replaycnt) { -- 2.20.1