Add missing pktattr declaration. Should compile w/ ALTQ, now.

This commit is contained in:
dyoung 2003-10-14 23:02:52 +00:00
parent 9558d5998a
commit 0fc2b8e13f

View File

@ -1,4 +1,4 @@
/* $NetBSD: ieee80211_input.c,v 1.5 2003/10/13 04:25:26 dyoung Exp $ */
/* $NetBSD: ieee80211_input.c,v 1.6 2003/10/14 23:02:52 dyoung Exp $ */
/*-
* Copyright (c) 2001 Atsushi Onoe
* Copyright (c) 2002, 2003 Sam Leffler, Errno Consulting
@ -35,7 +35,7 @@
#ifdef __FreeBSD__
__FBSDID("$FreeBSD: src/sys/net80211/ieee80211_input.c,v 1.8 2003/08/19 22:17:03 sam Exp $");
#else
__KERNEL_RCSID(0, "$NetBSD: ieee80211_input.c,v 1.5 2003/10/13 04:25:26 dyoung Exp $");
__KERNEL_RCSID(0, "$NetBSD: ieee80211_input.c,v 1.6 2003/10/14 23:02:52 dyoung Exp $");
#endif
#include "opt_inet.h"
@ -115,6 +115,7 @@ ieee80211_input(struct ifnet *ifp, struct mbuf *m, struct ieee80211_node *ni,
u_int8_t dir, subtype;
u_int8_t *bssid;
u_int16_t rxseq;
ALTQ_DECL(struct altq_pktattr pktattr;)
KASSERT(ni != NULL, ("null node"));