commit | 641cf2a5ba0345c01f4eb1ca2980372415c2a5e1 | [log] [tgz] |
---|---|---|
author | Adam Welle <arwelle@cert.org> | Tue Dec 01 17:13:52 2015 -0500 |
committer | Johannes Berg <johannes.berg@intel.com> | Fri Dec 04 14:43:32 2015 +0100 |
tree | 4dcbf72edfde53a27f27f0500500d52198631155 | |
parent | 89f44d8c25bb21f167d7d124c6b83dd494f948af [diff] |
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: Adam Welle <arwelle@cert.org> [allow both simultaneously, add locking] Signed-off-by: Johannes Berg <johannes.berg@intel.com>