mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 17:42:41 +00:00
13 lines
383 B
Diff
13 lines
383 B
Diff
--- a/include/net/cfg80211.h
|
|
+++ b/include/net/cfg80211.h
|
|
@@ -543,6 +543,9 @@ ieee80211_get_sband_iftype_data(const st
|
|
if (WARN_ON(iftype >= NL80211_IFTYPE_MAX))
|
|
return NULL;
|
|
|
|
+ if (iftype == NL80211_IFTYPE_AP_VLAN)
|
|
+ iftype = NL80211_IFTYPE_AP;
|
|
+
|
|
for (i = 0; i < sband->n_iftype_data; i++) {
|
|
const struct ieee80211_sband_iftype_data *data =
|
|
&sband->iftype_data[i];
|