diff options
author | Luca Coelho <[email protected]> | 2016-09-15 18:15:09 +0300 |
---|---|---|
committer | Johannes Berg <[email protected]> | 2016-09-16 14:49:52 +0200 |
commit | fbd05e4a6e82fd573d3aa79e284e424b8d78c149 (patch) | |
tree | c07fd93b72d2cff80545cab21f5f2e5cfed26325 /net/unix/sysctl_net_unix.c | |
parent | b59abfbed638037f3b51eeb73266892cd2df177f (diff) |
cfg80211: add helper to find an IE that matches a byte-array
There are a few places where an IE that matches not only the EID, but
also other bytes inside the element, needs to be found. To simplify
that and reduce the amount of similar code, implement a new helper
function to match the EID and an extra array of bytes.
Additionally, simplify cfg80211_find_vendor_ie() by using the new
match function.
Signed-off-by: Luca Coelho <[email protected]>
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions