diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2020-01-07 16:59:34 +0300 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2020-02-14 12:06:04 +0300 |
commit | fecde5da035eb4b7308c85ef35ba21bd67fd5ef7 (patch) | |
tree | 7997d5dca776e9a37d57179096a903479cd1954a /drivers/net/wireless/mediatek/mt76/mt76x02_util.c | |
parent | 26b4876697564f3190badbd5b192321c84940831 (diff) | |
download | linux-fecde5da035eb4b7308c85ef35ba21bd67fd5ef7.tar.xz |
mt76: move WIPHY_FLAG_HAS_CHANNEL_SWITCH in mt76_phy_init
Move WIPHY_FLAG_HAS_CHANNEL_SWITCH in mt76-core module since now all
drivers support Channel Switch Announcement
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_util.c')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76x02_util.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x02_util.c b/drivers/net/wireless/mediatek/mt76/mt76x02_util.c index 28d8d447fc76..48da4f3a17db 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x02_util.c +++ b/drivers/net/wireless/mediatek/mt76/mt76x02_util.c @@ -175,7 +175,6 @@ void mt76x02_init_device(struct mt76x02_dev *dev) } } - wiphy->flags |= WIPHY_FLAG_HAS_CHANNEL_SWITCH; wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_VHT_IBSS); hw->sta_data_size = sizeof(struct mt76x02_sta); |