mirror_ubuntu-kernels/drivers/net/wireless/intel/iwlwifi/dvm
Colin Ian King c305c94bdc iwlwifi: Fix -EIO error code that is never returned
Currently the error -EIO is being assinged to variable ret when
the READY_BIT is not set but the function iwlagn_mac_start returns
0 rather than ret. Fix this by returning ret instead of 0.

Addresses-Coverity: ("Unused value")
Fixes: 7335613ae2 ("iwlwifi: move all mac80211 related functions to one place")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20210907104658.14706-1-colin.king@canonical.com
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
2022-02-18 10:40:56 +02:00
..
agn.h iwlwifi: allow rate-limited error messages 2021-10-22 10:49:03 +03:00
calib.c iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
calib.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
commands.h treewide: Replace open-coded flex arrays in unions 2021-10-18 12:28:53 -07:00
debugfs.c iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
dev.h iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
devices.c iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
led.c iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
led.h iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
lib.c iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
mac80211.c iwlwifi: Fix -EIO error code that is never returned 2022-02-18 10:40:56 +02:00
main.c iwlwifi: move symbols into a separate namespace 2022-02-18 10:40:52 +02:00
Makefile wireless: prefix header search paths with $(srctree)/ 2019-02-01 14:42:25 +02:00
power.c iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
power.h iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
rs.c iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
rs.h iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
rx.c iwlwifi: dvm: use struct_size over open coded arithmetic 2022-02-18 10:40:55 +02:00
rxon.c iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
scan.c iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
sta.c iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
tt.c iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
tt.h iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
tx.c iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
ucode.c iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00