Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

rt2x00: Mark active channel's survey data as "in use"

This is just a cosmetical fix since we only return survey data for the
active channel but it allows iw to show that the survey data is
for the currently used channel.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

authored by

Helmut Schaa and committed by
John W. Linville
9931df26 5d07a3d6

+3
+3
drivers/net/wireless/rt2x00/rt2800lib.c
··· 4554 4554 survey->channel_time_ext_busy = busy_ext / 1000; 4555 4555 } 4556 4556 4557 + if (!(hw->conf.flags & IEEE80211_CONF_OFFCHANNEL)) 4558 + survey->filled |= SURVEY_INFO_IN_USE; 4559 + 4557 4560 return 0; 4558 4561 4559 4562 }