avoid shadowing of m1
This commit is contained in:
parent
f63d439f2a
commit
a1f8461e23
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: ieee80211_input.c,v 1.38 2005/02/26 22:45:09 perry Exp $ */
|
/* $NetBSD: ieee80211_input.c,v 1.39 2005/05/30 04:16:10 christos Exp $ */
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2001 Atsushi Onoe
|
* Copyright (c) 2001 Atsushi Onoe
|
||||||
* Copyright (c) 2002, 2003 Sam Leffler, Errno Consulting
|
* Copyright (c) 2002, 2003 Sam Leffler, Errno Consulting
|
||||||
|
@ -35,7 +35,7 @@
|
||||||
#ifdef __FreeBSD__
|
#ifdef __FreeBSD__
|
||||||
__FBSDID("$FreeBSD: src/sys/net80211/ieee80211_input.c,v 1.20 2004/04/02 23:35:24 sam Exp $");
|
__FBSDID("$FreeBSD: src/sys/net80211/ieee80211_input.c,v 1.20 2004/04/02 23:35:24 sam Exp $");
|
||||||
#else
|
#else
|
||||||
__KERNEL_RCSID(0, "$NetBSD: ieee80211_input.c,v 1.38 2005/02/26 22:45:09 perry Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: ieee80211_input.c,v 1.39 2005/05/30 04:16:10 christos Exp $");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "opt_inet.h"
|
#include "opt_inet.h"
|
||||||
|
@ -222,9 +222,9 @@ ieee80211_input(struct ifnet *ifp, struct mbuf *m, struct ieee80211_node *ni,
|
||||||
ifp->if_xname, ether_sprintf(wh->i_addr2));
|
ifp->if_xname, ether_sprintf(wh->i_addr2));
|
||||||
|
|
||||||
while (!IF_IS_EMPTY(&ni->ni_savedq)) {
|
while (!IF_IS_EMPTY(&ni->ni_savedq)) {
|
||||||
struct mbuf *m;
|
struct mbuf *mm1;
|
||||||
IF_DEQUEUE(&ni->ni_savedq, m);
|
IF_DEQUEUE(&ni->ni_savedq, mm1);
|
||||||
IF_ENQUEUE(&ic->ic_pwrsaveq, m);
|
IF_ENQUEUE(&ic->ic_pwrsaveq, mm1);
|
||||||
(*ifp->if_start)(ifp);
|
(*ifp->if_start)(ifp);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue