diff options
| author | Martin Kaiser <martin@kaiser.cx> | 2022-12-30 19:06:35 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-01-17 19:31:22 +0100 |
| commit | e263d79eb1a49ac217793cd77817e61ad7843fd8 (patch) | |
| tree | 00c6eca9e09e89d8e5736ce5c18fd467234845ea /tools/perf/scripts/python/bin | |
| parent | 6dd8420d4be40057b4ad015709a05b01f4fb2335 (diff) | |
| download | linux-e263d79eb1a49ac217793cd77817e61ad7843fd8.tar.gz linux-e263d79eb1a49ac217793cd77817e61ad7843fd8.zip | |
staging: r8188eu: simplify frame type check
Reorder the code in rtw_make_wlanhdr to make the function simpler.
There's a large if statement to check that we process only data frames.
Revert the condition and exit for non-data frames.
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Link: https://lore.kernel.org/r/20221230180646.91008-10-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
