]> bbs.cooldavid.org Git - net-next-2.6.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)
commit4f5fa2376f3ca46fa497632844872a6f4e224c09
treee3779b9409c1f5f96fb51c6b1b095b38a01fc6c5
parentfc66be2a808724d61134e420ef9d7082653c72eb
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