Fix debug printf, from Nathanael Rensen and chris@.
authormpi <mpi@openbsd.org>
Thu, 24 Jul 2014 08:23:12 +0000 (08:23 +0000)
committermpi <mpi@openbsd.org>
Thu, 24 Jul 2014 08:23:12 +0000 (08:23 +0000)
sys/net80211/ieee80211_pae_input.c

index 7385ac5..42d1575 100644 (file)
@@ -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 <damien.bergamini@free.fr>
@@ -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) {