diff options
author | Felix Fietkau <nbd@nbd.name> | 2019-10-16 12:09:22 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2020-02-14 10:03:08 +0100 |
commit | 011849e0fc55d607016314e752fc837c00b7c794 (patch) | |
tree | a2e0cc03ebe11ef7f8ea6aad0f5d615f8532441b /drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c | |
parent | mt76: keep a set of software tx queues per phy (diff) | |
download | linux-011849e0fc55d607016314e752fc837c00b7c794.tar.xz linux-011849e0fc55d607016314e752fc837c00b7c794.zip |
mt76: move state from struct mt76_dev to mt76_phy
Allows keeping per-wiphy state separate
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c b/drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c index f6cb2b6490a9..ff6a9e4daac0 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c +++ b/drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c @@ -616,7 +616,7 @@ static void mt76x02_dfs_tasklet(unsigned long arg) u32 engine_mask; int i; - if (test_bit(MT76_SCANNING, &dev->mt76.state)) + if (test_bit(MT76_SCANNING, &dev->mphy.state)) goto out; if (time_is_before_jiffies(dfs_pd->last_sw_check + |