]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: Properly access radiotap vendor data
authorIlan Peer <ilan.peer@intel.com>
Sat, 15 Dec 2018 09:03:25 +0000 (11:03 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 19 Dec 2018 08:41:10 +0000 (09:41 +0100)
commit4a7d7de145dee48152d875a4bdd3aaf2ed42d056
treef2fd4c1eb80b2164e3d8b5b976fd49032009b4b7
parentedc1dd1b5cf7ef884925efbffbdbf7d52accaa5d
mac80211: Properly access radiotap vendor data

The radiotap vendor data might be placed after some other
radiotap elements, and thus when accessing it, need to access
the correct offset in the skb data. Fix the code accordingly.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rx.c