diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2019-06-21 22:31:28 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2019-06-27 12:58:13 +0200 |
commit | d8b8890d5943ff68470c5a246fc500a830372812 (patch) | |
tree | e1eab59f4c7af645a8e9a7328eb1b2d6fd54b424 /drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c | |
parent | 07d557f640ced1935f693903a2f31d123d403998 (diff) | |
download | lwn-d8b8890d5943ff68470c5a246fc500a830372812.tar.gz lwn-d8b8890d5943ff68470c5a246fc500a830372812.zip |
mt76: move nl80211_dfs_regions in mt76_dev data structure
Move dfs region field in mt76_dev data structure since it is
used by all drivers. This is a preliminary patch to add DFS support to
mt7615 driver
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c b/drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c index ffdba5ffc22d..1b1e424ccbb2 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c +++ b/drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c @@ -120,7 +120,7 @@ static int mt76_edcca_set(void *data, u64 val) { struct mt76x02_dev *dev = data; - enum nl80211_dfs_regions region = dev->dfs_pd.region; + enum nl80211_dfs_regions region = dev->mt76.region; mutex_lock(&dev->mt76.mutex); |