Commit 2b30da45 authored by David S. Miller's avatar David S. Miller

Merge tag 'wireless-drivers-next-2021-10-25' of...

Merge tag 'wireless-drivers-next-2021-10-25' of git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next

Kalle Valo says:

====================
wireless-drivers-next patches for v5.16

Third set of patches for v5.16. This time we have a small one to
quickly fix two mt76 build failures I had missed in my previous pull
request.

Major changes:

mt76

* fix linking when CONFIG_MMC is disabled

* fix dev_err() format warning

* mt7615: mt7622: fix ibss and meshpoint
====================
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parents 6df5713e 753453af
...@@ -135,8 +135,6 @@ static int get_omac_idx(enum nl80211_iftype type, u64 mask) ...@@ -135,8 +135,6 @@ static int get_omac_idx(enum nl80211_iftype type, u64 mask)
int i; int i;
switch (type) { switch (type) {
case NL80211_IFTYPE_MESH_POINT:
case NL80211_IFTYPE_ADHOC:
case NL80211_IFTYPE_STATION: case NL80211_IFTYPE_STATION:
/* prefer hw bssid slot 1-3 */ /* prefer hw bssid slot 1-3 */
i = get_free_idx(mask, HW_BSSID_1, HW_BSSID_3); i = get_free_idx(mask, HW_BSSID_1, HW_BSSID_3);
...@@ -160,6 +158,8 @@ static int get_omac_idx(enum nl80211_iftype type, u64 mask) ...@@ -160,6 +158,8 @@ static int get_omac_idx(enum nl80211_iftype type, u64 mask)
return HW_BSSID_0; return HW_BSSID_0;
break; break;
case NL80211_IFTYPE_ADHOC:
case NL80211_IFTYPE_MESH_POINT:
case NL80211_IFTYPE_MONITOR: case NL80211_IFTYPE_MONITOR:
case NL80211_IFTYPE_AP: case NL80211_IFTYPE_AP:
/* ap uses hw bssid 0 and ext bssid */ /* ap uses hw bssid 0 and ext bssid */
......
...@@ -19,6 +19,7 @@ config MT7921S ...@@ -19,6 +19,7 @@ config MT7921S
select MT76_SDIO select MT76_SDIO
select MT7921_COMMON select MT7921_COMMON
depends on MAC80211 depends on MAC80211
depends on MMC
help help
This adds support for MT7921S 802.11ax 2x2:2SS wireless devices. This adds support for MT7921S 802.11ax 2x2:2SS wireless devices.
......
...@@ -1021,7 +1021,7 @@ void mt7921_get_et_stats(struct ieee80211_hw *hw, struct ieee80211_vif *vif, ...@@ -1021,7 +1021,7 @@ void mt7921_get_et_stats(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
ei += wi.worker_stat_count; ei += wi.worker_stat_count;
if (ei != ARRAY_SIZE(mt7921_gstrings_stats)) if (ei != ARRAY_SIZE(mt7921_gstrings_stats))
dev_err(dev->mt76.dev, "ei: %d SSTATS_LEN: %lu", dev_err(dev->mt76.dev, "ei: %d SSTATS_LEN: %zu",
ei, ARRAY_SIZE(mt7921_gstrings_stats)); ei, ARRAY_SIZE(mt7921_gstrings_stats));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment