OSDN Git Service

mt76: mt7663u: sync probe sampling with rate configuration
authorLorenzo Bianconi <lorenzo@kernel.org>
Fri, 3 Jul 2020 08:17:35 +0000 (10:17 +0200)
committerFelix Fietkau <nbd@nbd.name>
Tue, 21 Jul 2020 17:01:17 +0000 (19:01 +0200)
commit4bb586bc33b9845d76fc8d4efc2910e37876c399
treee426347f75477de0d6f88fea8e4ff1df135774e3
parent894b7767ec2fc21574775c354ab5350e51c2171c
mt76: mt7663u: sync probe sampling with rate configuration

On usb device rate configuration for sampling is performed relying on a
workqueue since it is not possible to access the device in the interrupt
context. Move the configuration of the probe_rate flag in the workqueue
in order to keep probe sampling in sync with actual rate configuration

Fixes: eb99cc95c3b6 ("mt76: mt7615: introduce mt7663u support")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7615/mac.c
drivers/net/wireless/mediatek/mt76/mt7615/main.c
drivers/net/wireless/mediatek/mt76/mt7615/pci_mac.c
drivers/net/wireless/mediatek/mt76/mt7615/usb.c