diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/link.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/link.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/net/wireless/ath/ath9k/link.c b/drivers/net/wireless/ath/ath9k/link.c index b829263e3d0a..90631d768a60 100644 --- a/drivers/net/wireless/ath/ath9k/link.c +++ b/drivers/net/wireless/ath/ath9k/link.c | |||
@@ -516,14 +516,14 @@ int ath_update_survey_stats(struct ath_softc *sc) | |||
516 | ath_hw_cycle_counters_update(common); | 516 | ath_hw_cycle_counters_update(common); |
517 | 517 | ||
518 | if (cc->cycles > 0) { | 518 | if (cc->cycles > 0) { |
519 | survey->filled |= SURVEY_INFO_CHANNEL_TIME | | 519 | survey->filled |= SURVEY_INFO_TIME | |
520 | SURVEY_INFO_CHANNEL_TIME_BUSY | | 520 | SURVEY_INFO_TIME_BUSY | |
521 | SURVEY_INFO_CHANNEL_TIME_RX | | 521 | SURVEY_INFO_TIME_RX | |
522 | SURVEY_INFO_CHANNEL_TIME_TX; | 522 | SURVEY_INFO_TIME_TX; |
523 | survey->channel_time += cc->cycles / div; | 523 | survey->time += cc->cycles / div; |
524 | survey->channel_time_busy += cc->rx_busy / div; | 524 | survey->time_busy += cc->rx_busy / div; |
525 | survey->channel_time_rx += cc->rx_frame / div; | 525 | survey->time_rx += cc->rx_frame / div; |
526 | survey->channel_time_tx += cc->tx_frame / div; | 526 | survey->time_tx += cc->tx_frame / div; |
527 | } | 527 | } |
528 | 528 | ||
529 | if (cc->cycles < div) | 529 | if (cc->cycles < div) |