summaryrefslogtreecommitdiffstats
path: root/net/rfkill/rfkill-regulator.c
diff options
context:
space:
mode:
authorJohannes Berg2013-02-15 00:48:33 +0100
committerJohannes Berg2013-03-06 16:35:40 +0100
commit77ee7c891a04c3d254711ddf1bde5d7381339fb3 (patch)
tree0983da0e1067bcf1c4b34ffd6bc8a0fb97eb5dfd /net/rfkill/rfkill-regulator.c
parentcfg80211: unify station WME parsing (diff)
downloadkernel-qcow2-linux-77ee7c891a04c3d254711ddf1bde5d7381339fb3.tar.gz
kernel-qcow2-linux-77ee7c891a04c3d254711ddf1bde5d7381339fb3.tar.xz
kernel-qcow2-linux-77ee7c891a04c3d254711ddf1bde5d7381339fb3.zip
cfg80211: comprehensively check station changes
The station change API isn't being checked properly before drivers are called, and as a result it is difficult to see what should be allowed and what not. In order to comprehensively check the API parameters parse everything first, and then have the driver call a function (cfg80211_check_station_change()) with the additionally information about the kind of station that is being changed; this allows the function to make better decisions than the old code could. While at it, also add a few checks, particularly in mesh and clarify the TDLS station lifetime in documentation. To be able to reduce a few checks, ignore any flag set bits when the mask isn't set, they shouldn't be applied then. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/rfkill/rfkill-regulator.c')
0 files changed, 0 insertions, 0 deletions