diff options
| author | Sathish Kumar <[email protected]> | 2022-03-23 10:25:15 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-04-04 07:33:45 +0200 |
| commit | a3515f20535fc6a3813da45268911a65f5ebe362 (patch) | |
| tree | 6438af8d091ed3092e99010e2ac5a2d38995174f /tools/perf/scripts/python/bin | |
| parent | 52a0af7091b41deb8cd27d7954b43d30ab27f3ab (diff) | |
staging: rtl8712: Use completions for signaling
r8712_sitesurvey_cmd() uses a variable to notify r8712_SetFilter() that it
has completed operation. There is no sort of assurance that the variable will
actually change and it could cache the value the first time it is read and
then never update it for the whole loop logic.
Use completion variables because they are better suited for the purpose.
This patch fixes the checkpatch.pl warnings like:
CHECK: Avoid CamelCase: <blnEnableRxFF0Filter>
+ u8 blnEnableRxFF0Filter;
Reviewed-by: Fabio M. De Francesco <[email protected]>
Signed-off-by: Sathish Kumar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions