iwlwifi: pcie: Re-configure IVAR table after stop device
authorGolan Ben Ami <golan.ben.ami@intel.com>
Thu, 15 Dec 2016 08:22:36 +0000 (10:22 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 8 Feb 2017 10:55:30 +0000 (12:55 +0200)
commitf4a1f04a3f66aebbe8665a28d9cf0b5e3d1c6f9d
tree32790a9920f09c3a1208ec74b826313458f72c71
parentd7270d619aaf4ce0e3d079fbdcae274476883e47
iwlwifi: pcie: Re-configure IVAR table after stop device

When getting RF_KILL and disabling radio, the device gets stopped
and reset. This erases the IVAR table that matches the interrupt
to its cause, and is essential for MSIX proper functionality.
Till now, the table wasn't re-configured after the reset, and
therefore the interrupt that enabled radio didn't fire on the
right irq, and the driver didn't handle it correctly.

To fix this, configure the IVAR table again after resetting the
device.

Signed-off-by: Golan Ben-Ami <golan.ben.ami@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/pcie/trans.c