diff options
author | John W. Linville <linville@tuxdriver.com> | 2014-05-08 19:13:41 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-05-08 19:13:41 +0400 |
commit | 6153871f77f8fa778cd0cf1e2979db75e25d3532 (patch) | |
tree | c6024da3b1ee5ce379b3c60824aabba76a1e1799 /net/mac80211/status.c | |
parent | 23a456f05353035d1a2b3f1b9a92707acdc036e0 (diff) | |
parent | cabae81103584a8265114a543555781b7b0c88bd (diff) | |
download | linux-6153871f77f8fa778cd0cf1e2979db75e25d3532.tar.xz |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless into for-davem
Diffstat (limited to 'net/mac80211/status.c')
-rw-r--r-- | net/mac80211/status.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net/mac80211/status.c b/net/mac80211/status.c index 00ba90b02ab2..60cb7a665976 100644 --- a/net/mac80211/status.c +++ b/net/mac80211/status.c @@ -314,10 +314,9 @@ ieee80211_add_tx_radiotap_header(struct ieee80211_local *local, !is_multicast_ether_addr(hdr->addr1)) txflags |= IEEE80211_RADIOTAP_F_TX_FAIL; - if ((info->status.rates[0].flags & IEEE80211_TX_RC_USE_RTS_CTS) || - (info->status.rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT)) + if (info->status.rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT) txflags |= IEEE80211_RADIOTAP_F_TX_CTS; - else if (info->status.rates[0].flags & IEEE80211_TX_RC_USE_RTS_CTS) + if (info->status.rates[0].flags & IEEE80211_TX_RC_USE_RTS_CTS) txflags |= IEEE80211_RADIOTAP_F_TX_RTS; put_unaligned_le16(txflags, pos); |