Skip to content

Commit

Permalink
mt76: mt7615: do not mark sched_scan disabled in mt7615_scan_work
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
  • Loading branch information
LorenzoBianconi authored and nbd168 committed May 5, 2020
1 parent d4ba139 commit 2cc0d54
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mt7615/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2cc0d54

Please sign in to comment.