diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-09-11 02:16:36 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-09-15 16:48:23 -0400 |
commit | 8aa21e6fd703cb3fed66ac07dcbcb861f00cf6d6 (patch) | |
tree | ff237c8212a514b87a897161b5dab883528e7bf7 /net/bluetooth/hidp/core.c | |
parent | 7a725f73403e874ec52c58741e9b98cd604dbd03 (diff) |
mac80211 hwsim: verify vif pointers
mac80211-hwsim is a debugging tool for mac80211, and as such
it can very well verify that mac80211 isn't passing junk to
drivers, especially the vif pointer is prone to this because
for vlan interfaces the AP interface pointer needs to be passed.
This makes mac80211-hwsim add a magic cookie to the private vif
area and verify it whenever an operation is called that gets a
vif pointer.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/bluetooth/hidp/core.c')
0 files changed, 0 insertions, 0 deletions