diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2011-09-15 11:46:30 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-09-19 15:58:26 -0400 |
commit | 909e9b23e4b1d4a783e8d2e5e2c865b7ebdb0675 (patch) | |
tree | 159399076b9c7aa6b7ca6aae2a7db91343aedfd1 /drivers/scsi/libsas | |
parent | 39644e9ac5329dc92d9547976c8f30f18da90097 (diff) | |
download | blackbird-op-linux-909e9b23e4b1d4a783e8d2e5e2c865b7ebdb0675.tar.gz blackbird-op-linux-909e9b23e4b1d4a783e8d2e5e2c865b7ebdb0675.zip |
iwlagn: free the Tx cmd when a non empty Tx queue is freed
When a non-empty Tx queueis freed, the buffer it contains must be
freed too. Since the Tx cmd are now allocated from a pool, the Tx
cmd must be freed too.
This patch avoids to destroy a non-empty pool of Tx cmd.
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>
Diffstat (limited to 'drivers/scsi/libsas')
0 files changed, 0 insertions, 0 deletions