wifi: cfg80211: fix sband iftype data lookup for AP_VLAN
authorFelix Fietkau <nbd@nbd.name>
Thu, 22 Jun 2023 16:59:19 +0000 (18:59 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Aug 2023 16:27:27 +0000 (18:27 +0200)
commit521860ddf31414a58f2dcd41f04b790603db8c8b
tree8ac87b3e3cccb9bc251d18f17c9ba80218364f56
parent94916b314861288ebf7ef883ef23df00ac2b94a0
wifi: cfg80211: fix sband iftype data lookup for AP_VLAN

commit 5fb9a9fb71a33be61d7d8e8ba4597bfb18d604d0 upstream.

AP_VLAN interfaces are virtual, so doesn't really exist as a type for
capabilities. When passed in as a type, AP is the one that's really intended.

Fixes: c4cbaf7973a7 ("cfg80211: Add support for HE")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://lore.kernel.org/r/20230622165919.46841-1-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/net/cfg80211.h