forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
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];