summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorMartin Kaiser <martin@kaiser.cx>2022-03-27 20:09:36 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-04-04 07:33:46 +0200
commitea1728b5cdb7496305d9b5a43a1070f3a413d022 (patch)
tree286d8bd4630a57366cbe0a2635d3ca0d3180dbb5 /tools/perf/scripts/python/bin
parentb4c5ec356c7215beba2d54700c27d58926b7684c (diff)
downloadlinux-ea1728b5cdb7496305d9b5a43a1070f3a413d022.tar.gz
linux-ea1728b5cdb7496305d9b5a43a1070f3a413d022.zip
staging: r8188eu: use ieee80211 define for version check
Use the IEEE80211_FCTL_VERS define to check the version number of a received frame. Covert IEEE80211_FCTL_VERS to le16 before using it as a mask for fc, which is also an le16 value. The ieee80211_... helper functions use the same approach. Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Martin Kaiser <martin@kaiser.cx> Link: https://lore.kernel.org/r/20220327180944.712545-2-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions