Nathanael Rensen [nathan...@list.polymorpheus.com] wrote:
> The IEEE80211_DEBUG kernel option needs a little help to compile.
> 
> Index: ieee80211_pae_input.c
> ===================================================================
> RCS file: /cvs/src/sys/net80211/ieee80211_pae_input.c,v
> retrieving revision 1.19
> diff -u -p -r1.19 ieee80211_pae_input.c
> --- ieee80211_pae_input.c     22 Jul 2014 11:06:10 -0000      1.19
> +++ ieee80211_pae_input.c     23 Jul 2014 14:25:22 -0000
> @@ -978,7 +978,7 @@ ieee80211_recv_group_msg2(struct ieee802
>  
>       /* 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(("unexpected in state: %d\n", ni->ni_rsn_gstate));

probably want this:
+       DPRINTF(("%s: unexpected in state: %d\n", ic->ic_if.if_xname,
+           ni->ni_rsn_gstate));

Reply via email to