diff options
author | Felix Fietkau <nbd@nbd.name> | 2019-10-16 13:31:46 +0300 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2020-02-14 12:03:09 +0300 |
commit | db7aa188623d522636cf1a0719312b0dbbdf1dc9 (patch) | |
tree | 27ed425315375bb56247172899f85faf7fef9946 /drivers/net/wireless/mediatek/mt76/mt76x02_util.c | |
parent | 011849e0fc55d607016314e752fc837c00b7c794 (diff) | |
download | linux-db7aa188623d522636cf1a0719312b0dbbdf1dc9.tar.xz |
mt76: move chainmask back to driver specific structs
Nothing in the core uses it
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 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x02_util.c b/drivers/net/wireless/mediatek/mt76/mt76x02_util.c index d226112494d3..846cd75e3e2d 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x02_util.c +++ b/drivers/net/wireless/mediatek/mt76/mt76x02_util.c @@ -192,10 +192,10 @@ void mt76x02_init_device(struct mt76x02_dev *dev) IEEE80211_HT_CAP_LDPC_CODING; dev->mphy.sband_5g.sband.ht_cap.cap |= IEEE80211_HT_CAP_LDPC_CODING; - dev->mt76.chainmask = 0x202; + dev->chainmask = 0x202; dev->mt76.antenna_mask = 3; } else { - dev->mt76.chainmask = 0x101; + dev->chainmask = 0x101; dev->mt76.antenna_mask = 1; } } |