iwlwifi: mvm: return value for request_ownership
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 2 Mar 2022 07:27:15 +0000 (09:27 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 2 Mar 2022 21:37:25 +0000 (22:37 +0100)
commite6e91ec966db5af4f059cfbac1af06560404b317
treee23125f4aa9523724571aca19cd9b2a4341f2d0d
parente50b88c4f076242358b66ddb67482b96947438f2
iwlwifi: mvm: return value for request_ownership

Propagate the value to the user space so it can understand
if the operation failed or not.

Fixes: bfcfdb59b669 ("iwlwifi: mvm: add vendor commands needed for iwlmei")
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Link: https://lore.kernel.org/r/20220302072715.4885-1-emmanuel.grumbach@intel.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/vendor-cmd.c