We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f52728 commit 331aeadCopy full SHA for 331aead
net/mac80211/rx.c
@@ -549,7 +549,7 @@ ieee80211_add_rx_radiotap_header(struct ieee80211_local *local,
549
550
if (status->encoding == RX_ENC_HE &&
551
status->flag & RX_FLAG_RADIOTAP_HE) {
552
-#define HE_PREP(f, val) cpu_to_le16(FIELD_PREP(IEEE80211_RADIOTAP_HE_##f, val))
+#define HE_PREP(f, val) le16_encode_bits(val, IEEE80211_RADIOTAP_HE_##f)
553
554
if (status->enc_flags & RX_ENC_FLAG_STBC_MASK) {
555
he.data6 |= HE_PREP(DATA6_NSTS,
0 commit comments