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)
commitd359bbce0601c6a19203a4b813a7e3910fcba282
treef2fd4c1eb80b2164e3d8b5b976fd49032009b4b7
parent93bc8ac49e82a329160604556b805b7fa614ff9e
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