]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: add various struct element finding helpers
authorJohannes Berg <johannes.berg@intel.com>
Thu, 7 Feb 2019 22:26:38 +0000 (23:26 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 8 Feb 2019 12:51:50 +0000 (13:51 +0100)
commitcde127ba239d830bb01da18479f9d9c64007c1ea
tree5cc73012d8a6e31417bc69bb7be9fc980abc4518
parent9bbada42db8a4b9e1cc4dacb78c761176d578c7a
cfg80211: add various struct element finding helpers

We currently have a number of helpers to find elements that just
return a u8 *, change those to return a struct element and add
inlines to deal with the u8 * compatibility.

Note that the match behaviour is changed to start the natch at
the data, so conversion from _ie_match to _elem_match need to
be done carefully.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
net/wireless/scan.c
net/wireless/util.c