Skip to content

Instantly share code, notes, and snippets.

@Anthony96922
Last active May 20, 2023 03:48
Show Gist options
  • Save Anthony96922/3a945c75e9fbac7596f950cc745217ad to your computer and use it in GitHub Desktop.
Save Anthony96922/3a945c75e9fbac7596f950cc745217ad to your computer and use it in GitHub Desktop.
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x02_util.c b/drivers/net/wireless/mediatek/mt76/mt76x02_util.c
index db7a4ffca..bc02c5472 100644
--- a/drivers/net/wireless/mediatek/mt76/mt76x02_util.c
+++ b/drivers/net/wireless/mediatek/mt76/mt76x02_util.c
@@ -51,7 +51,7 @@ static const struct ieee80211_iface_limit mt76x02u_if_limits[] = {
.max = 1,
.types = BIT(NL80211_IFTYPE_ADHOC)
}, {
- .max = 2,
+ .max = 8,
.types = BIT(NL80211_IFTYPE_STATION) |
#ifdef CONFIG_MAC80211_MESH
BIT(NL80211_IFTYPE_MESH_POINT) |
@@ -80,7 +80,7 @@ static const struct ieee80211_iface_combination mt76x02u_if_comb[] = {
{
.limits = mt76x02u_if_limits,
.n_limits = ARRAY_SIZE(mt76x02u_if_limits),
- .max_interfaces = 2,
+ .max_interfaces = 8,
.num_different_channels = 1,
.beacon_int_infra_match = true,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment