summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/iwlwifi/iwl-agn-tx.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2010-05-17 02:37:33 -0700
committerReinette Chatre <reinette.chatre@intel.com>2010-06-05 23:18:11 -0700
commit519c7c416870c6e71e9553786a529d89f55ef395 (patch)
tree31958b056a944f6efe5ba7aa7dbcdd1dc2e3dcd4 /drivers/net/wireless/iwlwifi/iwl-agn-tx.c
parent6f80240e0a738a6c5cef005291a90522959f3ba2 (diff)
downloadlwn-519c7c416870c6e71e9553786a529d89f55ef395.tar.gz
lwn-519c7c416870c6e71e9553786a529d89f55ef395.zip
iwlwifi: kzalloc txb array
When we allocate queues, we currently don't use kzalloc() right now. When we then free those queues again without having used all entries, we may end up trying to free random pointers found in the txb array since it was never initialised. This fixes it simply by using kzalloc(). Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn-tx.c')
0 files changed, 0 insertions, 0 deletions