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/3553ab97e026
branches: trunk
changeset: 371700:3553ab97e026
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 12fade996af2 -r 3553ab97e026 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