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/c0221519f070
branches:  trunk
changeset: 950649:c0221519f070
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 16ace856e6b2 -r c0221519f070 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