diff options
Diffstat (limited to 'net/mac80211/rx.c')
-rw-r--r-- | net/mac80211/rx.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index b5c48de81d8b..1da57c8e849a 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c | |||
@@ -178,14 +178,6 @@ ieee80211_add_rx_radiotap_header(struct ieee80211_local *local, | |||
178 | pos++; | 178 | pos++; |
179 | } | 179 | } |
180 | 180 | ||
181 | /* IEEE80211_RADIOTAP_DBM_ANTNOISE */ | ||
182 | if (local->hw.flags & IEEE80211_HW_NOISE_DBM) { | ||
183 | *pos = status->noise; | ||
184 | rthdr->it_present |= | ||
185 | cpu_to_le32(1 << IEEE80211_RADIOTAP_DBM_ANTNOISE); | ||
186 | pos++; | ||
187 | } | ||
188 | |||
189 | /* IEEE80211_RADIOTAP_LOCK_QUALITY is missing */ | 181 | /* IEEE80211_RADIOTAP_LOCK_QUALITY is missing */ |
190 | 182 | ||
191 | /* IEEE80211_RADIOTAP_ANTENNA */ | 183 | /* IEEE80211_RADIOTAP_ANTENNA */ |
@@ -1077,7 +1069,6 @@ ieee80211_rx_h_sta_process(struct ieee80211_rx_data *rx) | |||
1077 | sta->rx_fragments++; | 1069 | sta->rx_fragments++; |
1078 | sta->rx_bytes += rx->skb->len; | 1070 | sta->rx_bytes += rx->skb->len; |
1079 | sta->last_signal = status->signal; | 1071 | sta->last_signal = status->signal; |
1080 | sta->last_noise = status->noise; | ||
1081 | 1072 | ||
1082 | /* | 1073 | /* |
1083 | * Change STA power saving mode only at the end of a frame | 1074 | * Change STA power saving mode only at the end of a frame |