diff options
author | 2025-04-23 10:21:03 +0200 | |
---|---|---|
committer | 2025-04-23 15:41:52 +0200 | |
commit | 2a47949b1c4db7dde20b4a1fe3ab7a2a6e5462ee (patch) | |
tree | b5f0e4052a49158df66e8dceabaabcd1e894a965 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | wifi: mwifiex: remove unnecessary queue empty check (diff) | |
download | wireguard-linux-2a47949b1c4db7dde20b4a1fe3ab7a2a6e5462ee.tar.xz wireguard-linux-2a47949b1c4db7dde20b4a1fe3ab7a2a6e5462ee.zip |
wifi: mwifiex: let mwifiex_init_fw() return 0 for success
mwifiex_sta_init_cmd() returns -EINPROGRESS as success indication when
the init param is true. Likewise mwifiex_init_fw() returns -EINPROGRESS
as success indication: It will either return -EINPROGRESS directly when
in mfg_mode or the return value of mwifiex_sta_init_cmd() when in normal
mode.
-EINPROGRESS is a leftover from times when the initialization commands
were sent asynchronously. Since Commit 7bff9c974e1a ("mwifiex: send
firmware initialization commands synchronously") the return value has
become meaningless, so change mwifiex_sta_init_cmd() and
mwifiex_init_fw() to return 0 for success.
Reviewed-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Acked-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Link: https://patch.msgid.link/20250423-mwifiex-drop-asynchronous-init-v2-2-1bb951073a06@pengutronix.de
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions