diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2016-05-03 16:08:07 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2016-05-12 11:15:42 +0200 |
commit | 9e9ea43905597d9ba79b421b87c7851b8350717c (patch) | |
tree | 575e79ad116adda4309dc00c298bb9079642acb7 /include/net | |
parent | f631a77ba920f7153a1094d09cd8f2ebbffd0328 (diff) | |
download | talos-op-linux-9e9ea43905597d9ba79b421b87c7851b8350717c.tar.gz talos-op-linux-9e9ea43905597d9ba79b421b87c7851b8350717c.zip |
cfg80211: allow finding vendor with OUI without specifying the OUI type
This allows finding vendor IE from a specific vendor.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/cfg80211.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 1e008cddd41d..5f6e98ad21a2 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -3893,7 +3893,7 @@ const u8 *cfg80211_find_ie(u8 eid, const u8 *ies, int len); * cfg80211_find_vendor_ie - find vendor specific information element in data * * @oui: vendor OUI - * @oui_type: vendor-specific OUI type + * @oui_type: vendor-specific OUI type (must be < 0xff), negative means any * @ies: data consisting of IEs * @len: length of data * @@ -3905,7 +3905,7 @@ const u8 *cfg80211_find_ie(u8 eid, const u8 *ies, int len); * Note: There are no checks on the element length other than having to fit into * the given data. */ -const u8 *cfg80211_find_vendor_ie(unsigned int oui, u8 oui_type, +const u8 *cfg80211_find_vendor_ie(unsigned int oui, int oui_type, const u8 *ies, int len); /** |