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/127a4b7e334d
branches:  trunk
changeset: 367932:127a4b7e334d
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 5ad0796f03e5 -r 127a4b7e334d 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