]> git.baikalelectronics.ru Git - kernel.git/commit
iwl3945: fix bugs in txq freeing
authorJohannes Berg <johannes.berg@intel.com>
Mon, 17 May 2010 09:37:31 +0000 (02:37 -0700)
committerReinette Chatre <reinette.chatre@intel.com>
Sun, 6 Jun 2010 06:17:31 +0000 (23:17 -0700)
commit3445bf578ac63b4d09b23b5583500c7ba097bf81
treee3779b9409c1f5f96fb51c6b1b095b38a01fc6c5
parent150186de9029de33af0e0bee03c217b29ba3b303
iwl3945: fix bugs in txq freeing

When we free a txq that had no txb array allocated,
we still try to access it. Fix that, and also free
all SKBs that may be in the txb array (although it
can just be a single one).

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
drivers/net/wireless/iwlwifi/iwl-3945.c