From 2cc0d54b65a1c23d8684bacd24e70051d5805cbc Mon Sep 17 00:00:00 2001 From: Lorenzo Bianconi Date: Thu, 30 Apr 2020 09:59:31 +0200 Subject: [PATCH] mt76: mt7615: do not mark sched_scan disabled in mt7615_scan_work For the moment offload firmware supports just one entry in the scheduled scan plan and so it runs till it is disabled by the userspace. Do not mark the hw scheduled scan as disabled in mt7615_scan_work after receiving a scan result Signed-off-by: Lorenzo Bianconi Signed-off-by: Felix Fietkau --- mt7615/main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mt7615/main.c b/mt7615/main.c index e26ae3e7..47758f5d 100644 --- a/mt7615/main.c +++ b/mt7615/main.c @@ -817,7 +817,6 @@ void mt7615_scan_work(struct work_struct *work) clear_bit(MT76_HW_SCANNING, &phy->mt76->state); ieee80211_scan_completed(phy->mt76->hw, &info); } else { - clear_bit(MT76_HW_SCHED_SCANNING, &phy->mt76->state); ieee80211_sched_scan_results(phy->mt76->hw); } dev_kfree_skb(skb);