iwlwifi: don't leak Tx skb when a queue is disabled
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 18 Oct 2012 10:38:37 +0000 (12:38 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 23 Oct 2012 13:24:19 +0000 (15:24 +0200)
commit6c3fd3f00c67105b49d57525614fcfa6816d604d
treea93ab28fa107a3fc2971e21064460ffa62bdbfb8
parent4e760f1ab267edcd6e4b232ff732fc9cdc659ebb
iwlwifi: don't leak Tx skb when a queue is disabled

Since the queue might not be empty, we need to free the
pending Tx packets.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/pcie/internal.h
drivers/net/wireless/iwlwifi/pcie/trans.c
drivers/net/wireless/iwlwifi/pcie/tx.c