Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src-draft/trunk]: src/sys/net80211 Use IFQ_SET_MAXLEN
details: https://anonhg.NetBSD.org/src-all/rev/fd4c637c0e50
branches: trunk
changeset: 370615:fd4c637c0e50
user: Martin Husemann <martin%NetBSD.org@localhost>
date: Tue Sep 20 20:26:54 2022 +0200
description:
Use IFQ_SET_MAXLEN
diffstat:
sys/net80211/ieee80211_netbsd.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 9c0eb2559125 -r fd4c637c0e50 sys/net80211/ieee80211_netbsd.h
--- a/sys/net80211/ieee80211_netbsd.h Tue Sep 20 20:26:11 2022 +0200
+++ b/sys/net80211/ieee80211_netbsd.h Tue Sep 20 20:26:54 2022 +0200
@@ -437,7 +437,7 @@
KASSERT(maxlen <= IFQ_MAXLEN);
memset(mq, 0, sizeof(*mq));
- mq->q.ifq_maxlen = maxlen;
+ IFQ_SET_MAXLEN(&mq->q, maxlen);
mq->q.ifq_len = 0;
}
Home |
Main Index |
Thread Index |
Old Index