commit | f8d651a56ef5c9e26a1cddd4f169f5bf4f8dfa9b | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Wed Jun 22 04:25:57 2011 -0700 |
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | Fri Jun 24 11:54:30 2011 -0700 |
tree | a6511dd9831c85ee34055f07f343a3a7a667987f | |
parent | 1e5cf9b0be4e8902c06bf9600ea0b256e731c862 [diff] |
iwlagn: fix cmd queue unmap When we stop the device while a command is in flight that uses multiple TBs, we can leak the DMA buffers for the second and higher TBs. Fix this by using iwlagn_unmap_tfd() as we do when we normally recover the entry. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>