diff mbox series

[1/4] wifi: mac80211: tx: clarify conditions in if statement

Message ID 20230828135858.c5182ba79e0f.I5efd1399be8e6dedc1e48982b7f20c531ff37616@changeid (mailing list archive)
State Superseded
Delegated to: Johannes Berg
Headers show
Series [1/4] wifi: mac80211: tx: clarify conditions in if statement | expand

Commit Message

Johannes Berg Aug. 28, 2023, 11:58 a.m. UTC
From: Johannes Berg <johannes.berg@intel.com>

This really just reformats the statement, but makes it
more readable.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
---
 net/mac80211/tx.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c
index 7fe7280e8437..3a5b41c2ee3d 100644
--- a/net/mac80211/tx.c
+++ b/net/mac80211/tx.c
@@ -2855,9 +2855,10 @@  static struct sk_buff *ieee80211_build_hdr(struct ieee80211_sub_if_data *sdata,
 		goto free;
 	}
 
-	if (unlikely(!multicast && ((skb->sk &&
-		     skb_shinfo(skb)->tx_flags & SKBTX_WIFI_STATUS) ||
-		     ctrl_flags & IEEE80211_TX_CTL_REQ_TX_STATUS)))
+	if (unlikely(!multicast &&
+		     ((skb->sk &&
+		       skb_shinfo(skb)->tx_flags & SKBTX_WIFI_STATUS) ||
+		      ctrl_flags & IEEE80211_TX_CTL_REQ_TX_STATUS)))
 		info_id = ieee80211_store_ack_skb(local, skb, &info_flags,
 						  cookie);