commit | ba508685d90fa361bb2f7d1e3cb86892a7b94ec2 | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Sat Apr 08 00:44:03 2017 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Apr 08 13:00:44 2017 +0200 |
tree | d770e560bdba37adcf4a4ad972ce8fc568e2468b | |
parent | 0e490657c7214cce33fbca3d88227298c5c968ae [diff] |
staging: wilc1000: fix incorrect strncasecmp length The strncasecmp of buff against the literal string RSSI is using variable length which is zero. This should be instead using the variable size instead. Also remove the redundant variable length. Detected by PVS-Studio, warning: V575 Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>