linux_dsm_epyc7002/drivers/net/wireless/intel
Emmanuel Grumbach 2aabdbdc17 iwlwifi: pcie: enable interrupts before releasing the NIC's CPU
The NIC's CPU gets started after the firmware has been
written to its memory. The first thing it does is to
send an interrupt to let the driver know that it is
running. In order to get that interrupt, the driver needs
to make sure it is not masked. Of course, the interrupt
needs to be enabled in the driver before the CPU starts to
run.
I mistakenly inversed those two steps leading to races
which prevented the driver from getting the alive interrupt
from the firmware.
Fix that.

Cc: <stable@vger.kernel.org> [4.5+]
Fixes: a6bd005fe9 ("iwlwifi: pcie: fix RF-Kill vs. firmware load race")
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
2016-07-06 02:09:54 +03:00
..
ipw2x00 cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00
iwlegacy cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00
iwlwifi iwlwifi: pcie: enable interrupts before releasing the NIC's CPU 2016-07-06 02:09:54 +03:00
Kconfig iwlwifi: move under intel vendor directory 2015-11-18 14:28:30 +02:00
Makefile iwlwifi: move under intel vendor directory 2015-11-18 14:28:30 +02:00