diff options
author | Johannes Berg <johannes.berg@intel.com> | 2023-08-28 15:09:23 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2023-09-11 11:27:18 +0200 |
commit | 0499bead73d77a5d63cde8e2c516552f750e6193 (patch) | |
tree | a525c447dbfcc90cd537e52c98e890dc173c7297 /net/mac80211/tx.c | |
parent | e0b5127fa134fe0284d58877b6b3133939c8b3ce (diff) | |
download | linux-0499bead73d77a5d63cde8e2c516552f750e6193.tar.gz linux-0499bead73d77a5d63cde8e2c516552f750e6193.tar.bz2 linux-0499bead73d77a5d63cde8e2c516552f750e6193.zip |
wifi: mac80211: tx: clarify conditions in if statement
This really just reformats the statement, but makes it
more readable.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/tx.c')
-rw-r--r-- | net/mac80211/tx.c | 7 |
1 files changed, 4 insertions, 3 deletions
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); |