iwlwifi: need check for valid qos packet before free
commitcc0ffdadee6e17cabcb9ce2081b5a637c87113ea
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Thu, 8 Apr 2010 20:17:37 +0000 (8 13:17 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 26 Apr 2010 14:47:52 +0000 (26 07:47 -0700)
tree4f7ba6de024bafc5da6928839fc2e5145926f53e
parent0d54cd89c5cb669505946ab6789ef68b3a7d7f75
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