diff options
| author | Colin Ian King <colin.king@canonical.com> | 2017-12-26 17:33:18 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-13 19:50:14 +0200 |
| commit | 65bd5b002cb4b46cbc066891cd1f9eacae363157 (patch) | |
| tree | 4a138665c0edac33db539c95a7d8a4c17d39160c /tools/perf/scripts/python | |
| parent | abbdead1dd2b2ec7a47fc220edf45e0f4bda7845 (diff) | |
wl1251: check return from call to wl1251_acx_arp_ip_filter
[ Upstream commit ac1181c60822292176ab96912208ec9f9819faf8 ]
Currently the less than zero error check on ret is incorrect
as it is checking a far earlier ret assignment rather than the
return from the call to wl1251_acx_arp_ip_filter. Fix this by
adding in the missing assginment.
Detected by CoverityScan, CID#1164835 ("Logically dead code")
Fixes: 204cc5c44fb6 ("wl1251: implement hardware ARP filtering")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
