iwlagn: fix the race in the unmapping of the HCMD
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Fri, 14 Oct 2011 19:54:47 +0000 (12:54 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 2 Nov 2011 19:23:10 +0000 (15:23 -0400)
commitcda4ee3f2e6907e89baf7a12e02e02fa208c0625
treeaeaedda0e811a1d83cbf00de9cb6673f4ca696f7
parentc125d5e846894043361c0c89c1140be8fd6600b7
iwlagn: fix the race in the unmapping of the HCMD

As Stanislaw pointed out, my patch

iwlagn: fix a race in the unmapping of the TFDs

solved only part of the problem. The race still exists for TFDs of
the host commands. Fix that too.

Reported-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-trans-pcie.c