iwlwifi: need check for valid qos packet before free
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Thu, 8 Apr 2010 20:17:37 +0000 (13:17 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 26 Apr 2010 14:41:23 +0000 (07:41 -0700)
commit485f88310f3216db5bbbfadaf8bb5049ea606f86
treeec396d85de737ed3a477fd737768bc0dc6824847
parent8a832806f94a204b9ddc9010fe8ddf15f7ad842f
iwlwifi: need check for valid qos packet before free

commit ece6444c2fe80dab679beb5f0d58b091f1933b00 upstream.

For 4965, need to check it is valid qos frame before free, only valid
QoS frame has the tid used to free the packets.

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/iwlwifi/iwl-4965.c