mt76: refresh patch
This commit is contained in:
parent
918607e3fd
commit
1a7916883c
@ -1,15 +1,15 @@
|
||||
--- a/mac80211.c
|
||||
+++ b/mac80211.c
|
||||
@@ -156,7 +156,7 @@ static void mt76_init_stream_cap(struct
|
||||
void mt76_set_stream_caps(struct mt76_dev *dev, bool vht)
|
||||
void mt76_set_stream_caps(struct mt76_phy *phy, bool vht)
|
||||
{
|
||||
if (dev->cap.has_2ghz)
|
||||
- mt76_init_stream_cap(dev, &dev->phy.sband_2g.sband, false);
|
||||
+ mt76_init_stream_cap(dev, &dev->phy.sband_2g.sband, vht);
|
||||
if (dev->cap.has_5ghz)
|
||||
mt76_init_stream_cap(dev, &dev->phy.sband_5g.sband, vht);
|
||||
if (phy->dev->cap.has_2ghz)
|
||||
- mt76_init_stream_cap(phy, &phy->sband_2g.sband, false);
|
||||
+ mt76_init_stream_cap(phy, &phy->sband_2g.sband, vht);
|
||||
if (phy->dev->cap.has_5ghz)
|
||||
mt76_init_stream_cap(phy, &phy->sband_5g.sband, vht);
|
||||
}
|
||||
@@ -219,14 +219,14 @@ mt76_init_sband(struct mt76_dev *dev, st
|
||||
@@ -218,14 +218,14 @@ mt76_init_sband(struct mt76_dev *dev, st
|
||||
|
||||
static int
|
||||
mt76_init_sband_2g(struct mt76_dev *dev, struct ieee80211_rate *rates,
|
||||
@ -26,7 +26,7 @@
|
||||
}
|
||||
|
||||
static int
|
||||
@@ -446,7 +446,7 @@ int mt76_register_device(struct mt76_dev
|
||||
@@ -445,7 +445,7 @@ int mt76_register_device(struct mt76_dev
|
||||
mt76_phy_init(dev, hw);
|
||||
|
||||
if (dev->cap.has_2ghz) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user