Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src-draft/trunk]: src/sys/net80211 Cosmetics/simplify



details:   https://anonhg.NetBSD.org/src-all/rev/2248a4ad768b
branches:  trunk
changeset: 939330:2248a4ad768b
user:      Martin Husemann <martin%NetBSD.org@localhost>
date:      Fri Sep 25 19:50:15 2020 +0200

description:
Cosmetics/simplify

diffstat:

 sys/net80211/ieee80211_ht.c |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (16 lines):

diff -r 7fc3ed81f40a -r 2248a4ad768b sys/net80211/ieee80211_ht.c
--- a/sys/net80211/ieee80211_ht.c       Fri Sep 25 19:45:58 2020 +0200
+++ b/sys/net80211/ieee80211_ht.c       Fri Sep 25 19:50:15 2020 +0200
@@ -2523,11 +2523,9 @@
        tid = MS(baparamset, IEEE80211_BAPS_TID);
 #ifdef IEEE80211_DEBUG
        bufsiz = MS(baparamset, IEEE80211_BAPS_BUFSIZ);
+       amsdu = !! MS(baparamset, IEEE80211_BAPS_AMSDU);
 #endif
        policy = MS(baparamset, IEEE80211_BAPS_POLICY);
-#ifdef IEEE80211_DEBUG
-       amsdu = !! MS(baparamset, IEEE80211_BAPS_AMSDU);
-#endif
        batimeout = le16dec(frm+7);
 
        tap = &ni->ni_tx_ampdu[tid];



Home | Main Index | Thread Index | Old Index