]> 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)
commit772863161bbbb5b413faa3f87d9aa8b017e57b60
tree5cc73012d8a6e31417bc69bb7be9fc980abc4518
parent594d47984b2170c328e53cc110ccb953f8a5729b
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