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/a70b4816f9ba
branches:  trunk
changeset: 364952:a70b4816f9ba
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 2dc6c12f6278 -r a70b4816f9ba 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