diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-07-02 17:18:40 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-07-10 21:01:53 +0200 |
commit | 517357c685ccc4b5783cc7dbdae8824ada19a97f (patch) | |
tree | 1e3532ca39233dd59b106011788f68a21ffc88c4 /include | |
parent | cfg80211: reset auth algorithm (diff) | |
download | linux-517357c685ccc4b5783cc7dbdae8824ada19a97f.tar.xz linux-517357c685ccc4b5783cc7dbdae8824ada19a97f.zip |
cfg80211: assimilate and export ieee80211_bss_get_ie
This function from mac80211 seems generally useful, and
I will need it in cfg80211 soon.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/cfg80211.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index fe87819954a5..eb026541f928 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -605,6 +605,15 @@ struct cfg80211_bss { }; /** + * ieee80211_bss_get_ie - find IE with given ID + * @bss: the bss to search + * @ie: the IE ID + * Returns %NULL if not found. + */ +const u8 *ieee80211_bss_get_ie(struct cfg80211_bss *bss, u8 ie); + + +/** * struct cfg80211_crypto_settings - Crypto settings * @wpa_versions: indicates which, if any, WPA versions are enabled * (from enum nl80211_wpa_versions) |