[PATCH] ath10k: add SURVEY_INFO_IN_USE for current channel on survey
Kalle Valo
kvalo at qca.qualcomm.com
Thu Oct 23 00:13:09 PDT 2014
Felix Fietkau <nbd at openwrt.org> writes:
> Signed-off-by: Felix Fietkau <nbd at openwrt.org>
> ---
> drivers/net/wireless/ath/ath10k/mac.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c
> index 4670930..bc440dc 100644
> --- a/drivers/net/wireless/ath/ath10k/mac.c
> +++ b/drivers/net/wireless/ath/ath10k/mac.c
> @@ -3975,6 +3975,9 @@ static int ath10k_get_survey(struct ieee80211_hw *hw, int idx,
>
> survey->channel = &sband->channels[idx];
>
> + if (ar->rx_channel == survey->channel)
> + survey->filled |= SURVEY_INFO_IN_USE;
> +
Why? Does this fix a visible bug? What changes from user space point of
view? I'm asking because I want to add something to the commit log.
--
Kalle Valo
More information about the ath10k
mailing list