diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-12-26 17:33:18 +0000 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-01-08 19:40:36 +0200 |
commit | ac1181c60822292176ab96912208ec9f9819faf8 (patch) | |
tree | 55b7c27fa7f4ec874973dda01ae2783a2211b9d9 /drivers/net/wireless/ralink/rt2x00/rt2800lib.c | |
parent | 6dd80efd75ce7c2dbd9f117cf585ee2b33a42ee1 (diff) | |
download | linux-ac1181c60822292176ab96912208ec9f9819faf8.tar.gz |
wl1251: check return from call to wl1251_acx_arp_ip_filter
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>
Diffstat (limited to 'drivers/net/wireless/ralink/rt2x00/rt2800lib.c')
0 files changed, 0 insertions, 0 deletions