diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-01-08 18:10:58 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-01-12 20:02:07 +0100 |
commit | 0e5ded5a87c097760abd68521b86f1025dedc7d7 (patch) | |
tree | 8df46ae5bb0a32c69127bc3b1c92245a6ca98be2 /net/mac80211/sta_info.h | |
parent | mac80211: use nullfunc frames for 4-addr sta detection (diff) | |
download | linux-0e5ded5a87c097760abd68521b86f1025dedc7d7.tar.xz linux-0e5ded5a87c097760abd68521b86f1025dedc7d7.zip |
mac80211: allow station updates on ap interfaces for vlan stations
Since the per-vif station changes, sta_info_get on the ap sdata no
longer returns entries for stations on ap vlans. This causes issues
with hostapd, which currently always passes the ap interface name to
nl80211 calls. This patch provides bug compatibility with the earlier
versions until hostapd is fixed.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to '')
-rw-r--r-- | net/mac80211/sta_info.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/mac80211/sta_info.h b/net/mac80211/sta_info.h index c8208236e896..6f79bba5706e 100644 --- a/net/mac80211/sta_info.h +++ b/net/mac80211/sta_info.h @@ -408,6 +408,9 @@ static inline u32 get_sta_flags(struct sta_info *sta) struct sta_info *sta_info_get(struct ieee80211_sub_if_data *sdata, const u8 *addr); +struct sta_info *sta_info_get_bss(struct ieee80211_sub_if_data *sdata, + const u8 *addr); + static inline void for_each_sta_info_type_check(struct ieee80211_local *local, const u8 *addr, |