diff options
author | Mukesh Sisodiya <[email protected]> | 2023-05-14 12:15:50 +0300 |
---|---|---|
committer | Johannes Berg <[email protected]> | 2023-05-16 10:27:05 -0700 |
commit | e234c36290430a833aa87532a7740fef031c2c85 (patch) | |
tree | 454dd5ab5148e69baaaa83191ff3a0dc4cdc70e7 /lib/mpi/mpiutil.c | |
parent | 6818266283d191549afa87ac5d7b86635a5fb105 (diff) |
wifi: iwlwifi: mvm: fix initialization of a return value
In iwl_mvm_mld_update_sta(), if the flow doesn't enter
for_each_sta_active_link(), the default value is returned.
Set this default to -EINVAL instead of 0 to better reflect
this.
Signed-off-by: Mukesh Sisodiya <[email protected]>
Signed-off-by: Gregory Greenman <[email protected]>
Link: https://lore.kernel.org/r/20230514120631.98b7e3aacf0b.I2fc274dd7e374ef7fac8e26d71c9cd73323da665@changeid
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions