diff options
| author | Rohit Sarkar <rohitsarkar5398@gmail.com> | 2019-10-02 22:35:19 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-04 10:16:49 +0200 |
| commit | b664312285eb6bb9378159f2fea02e39886a7012 (patch) | |
| tree | e4be3d7880dbe317393f6d42dcfc2359a04662c8 /tools/perf/scripts/python | |
| parent | f8fcbb6ba89c8144d3cc4ce72999672c23b82ed2 (diff) | |
| download | linux-b664312285eb6bb9378159f2fea02e39886a7012.tar.gz linux-b664312285eb6bb9378159f2fea02e39886a7012.zip | |
staging: rtl8712: fix boundary condition for n
Now that snprintf is replaced by scnprintf n >= MAX_WPA_IE_LEN doesn't
make sense as the maximum value n can take is MAX_WPA_IE_LEN.
Signed-off-by: Rohit Sarkar <rohitsarkar5398@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20191002170518.GA1688@SARKAR
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
