commit | 519c7c416870c6e71e9553786a529d89f55ef395 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Mon May 17 02:37:33 2010 -0700 |
committer | Reinette Chatre <reinette.chatre@intel.com> | Sat Jun 05 23:18:11 2010 -0700 |
tree | 31958b056a944f6efe5ba7aa7dbcdd1dc2e3dcd4 | |
parent | 6f80240e0a738a6c5cef005291a90522959f3ba2 [diff] |
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>