diff options
author | Martin Kaiser <[email protected]> | 2022-11-26 17:01:26 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2022-12-05 13:28:59 +0100 |
commit | 32634359a9c3d70cbf01af0ae87b27d8c0e1ebe3 (patch) | |
tree | 6b9ac7483d8ed0b638153d6e2c1f1dc11336471a /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 02b51d08ec3a0f476c8b1537faa46e35e87e5ce0 (diff) |
staging: r8188eu: exit if beacon is not from our bss
Do not process an incoming beacon message in the OnBeacon function if the
beacon was sent by a base station other than the one to which we're
connected.
This patch does not modify the behaviour of the code. It reverts the if
condition and returns if the beacon should not be processed. This is
simpler than wrapping the entire processing into a large if clause.
Tested-by: Philipp Hortmann <[email protected]> # Edimax N150
Signed-off-by: Martin Kaiser <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions