diff options
author | Benjamin Berg <benjamin.berg@intel.com> | 2023-10-17 12:16:45 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2023-10-23 12:48:29 +0200 |
commit | ac139aa3483c2a20adfd78d950def062820aece1 (patch) | |
tree | b5de13589f991dfa3a17eacca098f80b6f090148 /drivers/net/wireless/intel/iwlwifi/mvm/utils.c | |
parent | e25bd1853cc8308158d97e5b3696ea3689fa0840 (diff) |
wifi: iwlwifi: mvm: Return success if link could not be removed
iwl_mvm_remove_link would return an error if the link could not be
removed. However, doing so prevents recovery if a link was not uploaded
to the FW in the first place and the link_info was not allocated or
fw_link_id is not set.
Returning success means that we can still try to continue with adding
new links in change_vif_links.
Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20231017115047.f89bc05aadf6.Idc8fbd671362d962c02b1df87fa6258733631580@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/utils.c')
0 files changed, 0 insertions, 0 deletions