hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/include/net/cfg80211.h
....@@ -514,6 +514,9 @@
514514 if (WARN_ON(iftype >= NL80211_IFTYPE_MAX))
515515 return NULL;
516516
517
+ if (iftype == NL80211_IFTYPE_AP_VLAN)
518
+ iftype = NL80211_IFTYPE_AP;
519
+
517520 for (i = 0; i < sband->n_iftype_data; i++) {
518521 const struct ieee80211_sband_iftype_data *data =
519522 &sband->iftype_data[i];