iwlwifi: pcie: free the TSO page when a Tx queue is unmapped on A000 devices
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 16 Jul 2017 09:45:12 +0000 (12:45 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 9 Aug 2017 18:14:44 +0000 (21:14 +0300)
commit9bb3d5a003b1740a8252c59f6c82dd75b3c0fe83
tree3c683b2b9aca45955629b11aa191486dea126f3f
parentfb70d49f2afec87fc570852c2251ffd3117c7373
iwlwifi: pcie: free the TSO page when a Tx queue is unmapped on A000 devices

When we unmap a non-empty Tx queue, we need to free the
pages that we allocated for the headers in TSO flows.
This code existed for the 9000 device family, but somehow
it got left out when the new Tx path for the A000 devices
was written.

Fixes: 2b0c5946d9ed ("iwlwifi: pcie: introduce a000 TX queues management")
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/pcie/internal.h
drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c
drivers/net/wireless/intel/iwlwifi/pcie/tx.c