commit | 909e9b23e4b1d4a783e8d2e5e2c865b7ebdb0675 | [log] [tgz] |
---|---|---|
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | Thu Sep 15 11:46:30 2011 -0700 |
committer | John W. Linville <linville@tuxdriver.com> | Mon Sep 19 15:58:26 2011 -0400 |
tree | 159399076b9c7aa6b7ca6aae2a7db91343aedfd1 | |
parent | 39644e9ac5329dc92d9547976c8f30f18da90097 [diff] |
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>