1 From: Felix Fietkau <nbd@openwrt.org>
2 Date: Wed, 22 Oct 2014 18:44:03 +0200
3 Subject: [PATCH] ath10k: add SURVEY_INFO_IN_USE for current channel on
6 Signed-off-by: Felix Fietkau <nbd@openwrt.org>
9 --- a/drivers/net/wireless/ath/ath10k/mac.c
10 +++ b/drivers/net/wireless/ath/ath10k/mac.c
11 @@ -4044,6 +4044,9 @@ static int ath10k_get_survey(struct ieee
13 survey->channel = &sband->channels[idx];
15 + if (ar->rx_channel == survey->channel)
16 + survey->filled |= SURVEY_INFO_IN_USE;
19 mutex_unlock(&ar->conf_mutex);