From 4c3682159aa218798b798377dd7d545946119423 Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Sat, 6 Jun 2020 06:17:51 +0000 Subject: [PATCH] [net80211] Fix this typo! I've just started using this macro in upcoming amsdu/ampdu/ff rework and yes, too many parens. Oops! --- sys/net80211/ieee80211_ht.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net80211/ieee80211_ht.h b/sys/net80211/ieee80211_ht.h index 73cd22c1b9f1..05fb433ad4a1 100644 --- a/sys/net80211/ieee80211_ht.h +++ b/sys/net80211/ieee80211_ht.h @@ -74,7 +74,7 @@ struct ieee80211_tx_ampdu { * A-MSDU in A-MPDU */ #define IEEE80211_AMPDU_RUNNING_AMSDU(tap) \ - ((((tap)->txa_flags & (IEEE80211_AGGR_RUNNING | IEEE80211_AGGR_AMSDU)) \ + (((tap)->txa_flags & (IEEE80211_AGGR_RUNNING | IEEE80211_AGGR_AMSDU)) \ == (IEEE80211_AGGR_RUNNING | IEEE80211_AGGR_AMSDU)) /* return non-zero if AMPDU tx for the TID was NACKed */