Skip to content
Commit 641cf2a5 authored by Adam Welle's avatar Adam Welle Committed by Johannes Berg
Browse files

mac80211_hwsim: check ATTR_FREQ for wmediumd (netlink) packets



If a packet is received from netlink with the frequency value set it is
checked against the current radio's frequency and discarded if different.
The frequency is also checked against data2->tmp_chan to support the "hw"
off-channel/scan case.

Signed-off-by: default avatarAdam Welle <arwelle@cert.org>
[allow both simultaneously, add locking]
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 89f44d8c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment