mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
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 <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
0789f45e52
commit
2dca431cd7
+1
-1
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user