diff options
Diffstat (limited to 'net/mac80211/rx.c')
-rw-r--r-- | net/mac80211/rx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index 8257a09eeed4..7bcecf73aafb 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c | |||
@@ -204,14 +204,14 @@ ieee80211_add_rx_radiotap_header(struct ieee80211_local *local, | |||
204 | 204 | ||
205 | if (status->flag & RX_FLAG_HT) { | 205 | if (status->flag & RX_FLAG_HT) { |
206 | rthdr->it_present |= cpu_to_le32(1 << IEEE80211_RADIOTAP_MCS); | 206 | rthdr->it_present |= cpu_to_le32(1 << IEEE80211_RADIOTAP_MCS); |
207 | *pos++ = IEEE80211_RADIOTAP_MCS_HAVE_MCS | | 207 | *pos++ = local->hw.radiotap_mcs_details; |
208 | IEEE80211_RADIOTAP_MCS_HAVE_GI | | ||
209 | IEEE80211_RADIOTAP_MCS_HAVE_BW; | ||
210 | *pos = 0; | 208 | *pos = 0; |
211 | if (status->flag & RX_FLAG_SHORT_GI) | 209 | if (status->flag & RX_FLAG_SHORT_GI) |
212 | *pos |= IEEE80211_RADIOTAP_MCS_SGI; | 210 | *pos |= IEEE80211_RADIOTAP_MCS_SGI; |
213 | if (status->flag & RX_FLAG_40MHZ) | 211 | if (status->flag & RX_FLAG_40MHZ) |
214 | *pos |= IEEE80211_RADIOTAP_MCS_BW_40; | 212 | *pos |= IEEE80211_RADIOTAP_MCS_BW_40; |
213 | if (status->flag & RX_FLAG_HT_GF) | ||
214 | *pos |= IEEE80211_RADIOTAP_MCS_FMT_GF; | ||
215 | pos++; | 215 | pos++; |
216 | *pos++ = status->rate_idx; | 216 | *pos++ = status->rate_idx; |
217 | } | 217 | } |