commit | 65f1d6007e999f3a3dda1ba5f264447529247697 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Wed Apr 12 12:36:31 2017 +0200 |
committer | Johannes Berg <johannes.berg@intel.com> | Thu Apr 13 13:41:39 2017 +0200 |
tree | e8df53912f686e8b85cd11b8e04a47a42f9c1031 | |
parent | 1db77596e4c6b653f3cd001073a14dd09b8deb4a [diff] |
mac80211: use common code for monitor options in add/change Refactor the code to have common code for changing monitor options when adding and changing virtual interfaces. This will make it easier to add BPF filters to both paths. Note that this code carefully checks the error conditions first and only then applies the changes, to guarantee atomicity. Signed-off-by: Johannes Berg <johannes.berg@intel.com>