diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2800lib.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2800lib.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800lib.c b/drivers/net/wireless/rt2x00/rt2800lib.c index 81ee481487cf..be2d54f257b1 100644 --- a/drivers/net/wireless/rt2x00/rt2800lib.c +++ b/drivers/net/wireless/rt2x00/rt2800lib.c | |||
@@ -8020,13 +8020,13 @@ int rt2800_get_survey(struct ieee80211_hw *hw, int idx, | |||
8020 | rt2800_register_read(rt2x00dev, CH_BUSY_STA_SEC, &busy_ext); | 8020 | rt2800_register_read(rt2x00dev, CH_BUSY_STA_SEC, &busy_ext); |
8021 | 8021 | ||
8022 | if (idle || busy) { | 8022 | if (idle || busy) { |
8023 | survey->filled = SURVEY_INFO_CHANNEL_TIME | | 8023 | survey->filled = SURVEY_INFO_TIME | |
8024 | SURVEY_INFO_CHANNEL_TIME_BUSY | | 8024 | SURVEY_INFO_TIME_BUSY | |
8025 | SURVEY_INFO_CHANNEL_TIME_EXT_BUSY; | 8025 | SURVEY_INFO_TIME_EXT_BUSY; |
8026 | 8026 | ||
8027 | survey->channel_time = (idle + busy) / 1000; | 8027 | survey->time = (idle + busy) / 1000; |
8028 | survey->channel_time_busy = busy / 1000; | 8028 | survey->time_busy = busy / 1000; |
8029 | survey->channel_time_ext_busy = busy_ext / 1000; | 8029 | survey->time_ext_busy = busy_ext / 1000; |
8030 | } | 8030 | } |
8031 | 8031 | ||
8032 | if (!(hw->conf.flags & IEEE80211_CONF_OFFCHANNEL)) | 8032 | if (!(hw->conf.flags & IEEE80211_CONF_OFFCHANNEL)) |