diff options
author | Felix Fietkau <nbd@nbd.name> | 2019-10-12 20:46:40 +0300 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2020-02-14 12:03:08 +0300 |
commit | 96747a51fe62eb13481a39438453262d22148fa7 (patch) | |
tree | 28ee4cd6633e5b787886c024a9ec067d83b191d2 /drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h | |
parent | 426e8e413ce856825b43c7340bfd9f8d250e799b (diff) | |
download | linux-96747a51fe62eb13481a39438453262d22148fa7.tar.xz |
mt76: move channel state to struct mt76_phy
Add support for an extra wiphy in mt76_set_channel and mt76_get_survey
This is preparation for supporting multiple wiphys per device to support the
concurrent dual-band feature of MT7615D
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h b/drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h index 41680c420cda..eca95b7f64d2 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h +++ b/drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h @@ -30,7 +30,7 @@ static inline bool is_mt7612(struct mt76x02_dev *dev) static inline bool mt76x2_channel_silent(struct mt76x02_dev *dev) { - struct ieee80211_channel *chan = dev->mt76.chandef.chan; + struct ieee80211_channel *chan = dev->mphy.chandef.chan; return ((chan->flags & IEEE80211_CHAN_RADAR) && chan->dfs_state != NL80211_DFS_AVAILABLE); |