diff options
author | Vasanthakumar Thiagarajan <vasanth@atheros.com> | 2009-08-19 06:53:40 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-08-20 11:36:08 -0400 |
commit | 22e66a4c15b063aee5d03991c4b9629a3b0c4556 (patch) | |
tree | fd1ceba19ae5189374c951b41b4874d23385627c /drivers/net/wireless/ath/ath9k/recv.c | |
parent | ff36041652fcb9f5c17bdbeb081414f69521f1af (diff) |
ath9k: Nuke struct ath9k_node_stats
Other than ns_avgbrssi (Average beacon rssi) no data of
ath9k_node_stats is being used anywhere. Nuke this structure
and move its only useful member to ar5416Anistate. Also cleanup
this redundant data in ath_softc.
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/recv.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/recv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net/wireless/ath/ath9k/recv.c index 61dbdd227444..7b62c220d5fd 100644 --- a/drivers/net/wireless/ath/ath9k/recv.c +++ b/drivers/net/wireless/ath/ath9k/recv.c | |||
@@ -222,7 +222,7 @@ static int ath_rx_prepare(struct sk_buff *skb, struct ath_desc *ds, | |||
222 | 222 | ||
223 | /* Update Beacon RSSI, this is used by ANI. */ | 223 | /* Update Beacon RSSI, this is used by ANI. */ |
224 | if (ieee80211_is_beacon(fc)) | 224 | if (ieee80211_is_beacon(fc)) |
225 | sc->nodestats.ns_avgbrssi = ds->ds_rxstat.rs_rssi; | 225 | sc->sc_ah->stats.avgbrssi = ds->ds_rxstat.rs_rssi; |
226 | 226 | ||
227 | rx_status->mactime = ath_extend_tsf(sc, ds->ds_rxstat.rs_tstamp); | 227 | rx_status->mactime = ath_extend_tsf(sc, ds->ds_rxstat.rs_tstamp); |
228 | rx_status->band = hw->conf.channel->band; | 228 | rx_status->band = hw->conf.channel->band; |