On Thu, Dec 22, 2011 at 9:36 AM, Helmut Schaa <helmut.schaa@xxxxxxxxxxxxxx> wrote: > 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@xxxxxxxxxxxxxx> Acked-by: Ivo van Doorn <IvDoorn@xxxxxxxxx> > --- > drivers/net/wireless/rt2x00/rt2800lib.c | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > > diff --git a/drivers/net/wireless/rt2x00/rt2800lib.c b/drivers/net/wireless/rt2x00/rt2800lib.c > index 14fc8d1..bb70e89 100644 > --- a/drivers/net/wireless/rt2x00/rt2800lib.c > +++ b/drivers/net/wireless/rt2x00/rt2800lib.c > @@ -4686,6 +4686,9 @@ int rt2800_get_survey(struct ieee80211_hw *hw, int idx, > survey->channel_time_ext_busy = busy_ext / 1000; > } > > + if (!(hw->conf.flags & IEEE80211_CONF_OFFCHANNEL)) > + survey->filled |= SURVEY_INFO_IN_USE; > + > return 0; > > } > -- > 1.7.7 > -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html