commit | b664312285eb6bb9378159f2fea02e39886a7012 | [log] [tgz] |
---|---|---|
author | Rohit Sarkar <rohitsarkar5398@gmail.com> | Wed Oct 02 22:35:19 2019 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Oct 04 10:16:49 2019 +0200 |
tree | e4be3d7880dbe317393f6d42dcfc2359a04662c8 | |
parent | f8fcbb6ba89c8144d3cc4ce72999672c23b82ed2 [diff] |
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>