summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/mvm/ops.c
diff options
context:
space:
mode:
authorMordechai Goodstein <mordechay.goodstein@intel.com>2017-06-13 17:17:27 +0300
committerLuca Coelho <luciano.coelho@intel.com>2017-08-01 12:41:45 +0300
commitf2e66c8df0d0f10c70ed7f5e14a939714e9ee6a9 (patch)
tree2cf4d52ef0523ff3b1c5427ec620bb9a1a1777d3 /drivers/net/wireless/intel/iwlwifi/mvm/ops.c
parentf6aa45f67aaa03bd294040508218bc72c5958ad6 (diff)
downloadlinux-f2e66c8df0d0f10c70ed7f5e14a939714e9ee6a9.tar.bz2
iwlwifi: implement fseq version mismatch warning
During init, the FW checks whether the FSEQ value matches what it expects. If it doesn't match, we print a warning to let integrators clearly know that something is wrong. This can happen if another core (i.e. not WiFi) has updated the FSEQ version. This notification is only sent by the FW in production, for development firmwares, an assertion is triggered instead. Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Signed-off-by: Mordechai Goodstein <mordechay.goodstein@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/ops.c')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/mvm/ops.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/ops.c b/drivers/net/wireless/intel/iwlwifi/mvm/ops.c
index 4d591fdc61f2..d0ffdf5fa3a5 100644
--- a/drivers/net/wireless/intel/iwlwifi/mvm/ops.c
+++ b/drivers/net/wireless/intel/iwlwifi/mvm/ops.c
@@ -1006,8 +1006,10 @@ static void iwl_mvm_rx_common(struct iwl_mvm *mvm,
list_add_tail(&entry->list, &mvm->async_handlers_list);
spin_unlock(&mvm->async_handlers_lock);
schedule_work(&mvm->async_handlers_wk);
- break;
+ return;
}
+
+ iwl_fwrt_handle_notification(&mvm->fwrt, rxb);
}
static void iwl_mvm_rx(struct iwl_op_mode *op_mode,