iwlwifi: pcie: Fix index iteration on free_irq in MSIX mode
authorHaim Dreyfuss <haim.dreyfuss@intel.com>
Sun, 27 Mar 2016 09:56:13 +0000 (12:56 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 30 Mar 2016 13:24:50 +0000 (16:24 +0300)
commit8d80717a12c138f3d765d91feab0c08190a21d85
treebfd5f44ec2e48d5d7b0dcb33690f740d1fc7b73b
parent9d9b21d1b61647d5a37241571c0e3eb7cc04b348
iwlwifi: pcie: Fix index iteration on free_irq in MSIX mode

In MSIX mode we iterate over the allocated interrupt vectors and
register them to an handler. In case of registration failure,
we free all the allocated irq.
we use the outer index mistakenly instead of the inner one.

Signed-off-by: Haim Dreyfuss <haim.dreyfuss@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/intel/iwlwifi/pcie/trans.c