diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2014-11-02 16:48:09 +0300 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2014-11-03 16:29:17 +0300 |
commit | 31b8b343e019e0a0c57ca9c13520a87f9cab884b (patch) | |
tree | f8bb6b0e3894a4644318631ad857cb343c779902 /crypto/api.c | |
parent | 7b358f0652dc09069ee19c4cda52fb20a1fa582a (diff) | |
download | linux-31b8b343e019e0a0c57ca9c13520a87f9cab884b.tar.xz |
iwlwifi: fix RFkill while calibrating
If the RFkill interrupt fires while we calibrate, it would
make the firmware fail and the driver wasn't able to recover.
Change the flow so that the driver will kill the firmware
in that case.
Since we have now two flows that are calling
trans_stop_device (the RFkill interrupt and the
op_mode_mvm_start function) - we need to better sync this.
Use the STATUS_DEVICE_ENABLED in the pcie transport in an
atomic way to achieve this.
This fixes: https://bugzilla.kernel.org/show_bug.cgi?id=86231
CC: <stable@vger.kernel.org> [3.10+]
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Reviewed-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'crypto/api.c')
0 files changed, 0 insertions, 0 deletions