diff options
author | 2014-10-08 09:48:34 +0300 | |
---|---|---|
committer | 2014-10-09 11:25:11 +0200 | |
commit | 252e07ca5f64dd31fdfca8027287e7d75fefdab1 (patch) | |
tree | cf5564c90befa418c6d2adedb495747505db90b4 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | net: rfkill: kernel-doc warning fixes (diff) | |
download | linux-dev-252e07ca5f64dd31fdfca8027287e7d75fefdab1.tar.xz linux-dev-252e07ca5f64dd31fdfca8027287e7d75fefdab1.zip |
nl80211: sanity check the channel switch counter value
The nl80211 channel switch count attribute
(NL80211_ATTR_CH_SWITCH_COUNT) is specified as u32, but the
specification uses u8 for the counter. To make sure strange things
don't happen without informing the user, sanity check the value and
return -EINVAL if it doesn't fit in u8.
Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions