iwlwifi: mvm: set status before calling iwl_mvm_send_cmd_status()
authorLuca Coelho <luciano.coelho@intel.com>
Sat, 2 Sep 2017 08:25:40 +0000 (11:25 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 8 Sep 2017 08:50:30 +0000 (11:50 +0300)
commitd460f1fb83a44833a09c8eaa34b30ce553cab8c5
tree982551721cd25cf29c6ff32406ba348273a03357
parent3f497de997c7ed34ad8a90b64f1ca53a41d428b4
iwlwifi: mvm: set status before calling iwl_mvm_send_cmd_status()

We always must set the status to what we consider success before
calling iwl_mvm_send_cmd_status() (also iwl_mvm_send_cmd_pdu_status()
which calls it).  Fix a few places where initialization is missing.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/scan.c
drivers/net/wireless/intel/iwlwifi/mvm/tt.c