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 -----BEGIN PGP SIGNATURE----- iQFJBAABCgAzFiEEiBjanGPFTz4PRfLobhckVSbrbZsFAmF2biAVHGt2YWxvQGNv ZGVhdXJvcmEub3JnAAoJEG4XJFUm622b50gH/2ZQ5PVfP1JiE/PprBnISRhHSTjx N0mirZfdeEfAATYgWRcFZZvZsidNH44s8M3mbQrLzPM3zAqx9qPHZHH1Gxr8OX9a 9RHAra60uNT1lNc/vLluNsE+uICfnHRyI3BPxqL8OK62wf5jlSaYtYlfIrOW3W5j MyVjk9Acn2dQAhhYDLqfMru/w9k+xk10Omj072XOYImby2TGmF1b/SHBsmTLNW5l zkjLGDrRU7LIx43LQy2ZZ0NUyYM0wNvSKAZS5QUGC+jbwG7iha+W7RwZ6P5ayMNc 5pPN2Ehz0qAd0p4JNZWPck1uC40A5qhDAD69L14MU42Pl4K88IAbNZjdE9o= =grVq -----END PGP SIGNATURE----- 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: David S. Miller <davem@davemloft.net>
This commit is contained in:
commit
2b30da4510
|
@ -135,8 +135,6 @@ static int get_omac_idx(enum nl80211_iftype type, u64 mask)
|
|||
int i;
|
||||
|
||||
switch (type) {
|
||||
case NL80211_IFTYPE_MESH_POINT:
|
||||
case NL80211_IFTYPE_ADHOC:
|
||||
case NL80211_IFTYPE_STATION:
|
||||
/* prefer hw bssid slot 1-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)
|
|||
return HW_BSSID_0;
|
||||
|
||||
break;
|
||||
case NL80211_IFTYPE_ADHOC:
|
||||
case NL80211_IFTYPE_MESH_POINT:
|
||||
case NL80211_IFTYPE_MONITOR:
|
||||
case NL80211_IFTYPE_AP:
|
||||
/* ap uses hw bssid 0 and ext bssid */
|
||||
|
|
|
@ -19,6 +19,7 @@ config MT7921S
|
|||
select MT76_SDIO
|
||||
select MT7921_COMMON
|
||||
depends on MAC80211
|
||||
depends on MMC
|
||||
help
|
||||
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,
|
|||
|
||||
ei += wi.worker_stat_count;
|
||||
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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue