diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2011-02-28 08:33:14 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-02-28 14:06:56 -0500 |
commit | 8a032c132b7ca011813df7c441b4a6fc89e5baee (patch) | |
tree | 5d716fbbd4c232c469da47e109752c8ee52bb57e /drivers/net/wireless/iwlegacy/iwl-core.h | |
parent | 387f3381f732d8fa1b62213ae3276f2ae712dbe2 (diff) |
iwlegacy: fix dma mappings and skbs leak
Fix possible dma mappings and skbs introduced by commit
470058e0ad82fcfaaffd57307d8bf8c094e8e9d7 "iwlwifi: avoid Tx queue
memory allocation in interface down".
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Acked-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlegacy/iwl-core.h')
-rw-r--r-- | drivers/net/wireless/iwlegacy/iwl-core.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlegacy/iwl-core.h b/drivers/net/wireless/iwlegacy/iwl-core.h index c6d12d7e96b6..f03b463e4378 100644 --- a/drivers/net/wireless/iwlegacy/iwl-core.h +++ b/drivers/net/wireless/iwlegacy/iwl-core.h | |||
@@ -388,6 +388,7 @@ void iwl_legacy_rx_reply_error(struct iwl_priv *priv, | |||
388 | /***************************************************** | 388 | /***************************************************** |
389 | * RX | 389 | * RX |
390 | ******************************************************/ | 390 | ******************************************************/ |
391 | void iwl_legacy_cmd_queue_unmap(struct iwl_priv *priv); | ||
391 | void iwl_legacy_cmd_queue_free(struct iwl_priv *priv); | 392 | void iwl_legacy_cmd_queue_free(struct iwl_priv *priv); |
392 | int iwl_legacy_rx_queue_alloc(struct iwl_priv *priv); | 393 | int iwl_legacy_rx_queue_alloc(struct iwl_priv *priv); |
393 | void iwl_legacy_rx_queue_update_write_ptr(struct iwl_priv *priv, | 394 | void iwl_legacy_rx_queue_update_write_ptr(struct iwl_priv *priv, |
@@ -415,6 +416,7 @@ int iwl_legacy_tx_queue_init(struct iwl_priv *priv, struct iwl_tx_queue *txq, | |||
415 | void iwl_legacy_tx_queue_reset(struct iwl_priv *priv, | 416 | void iwl_legacy_tx_queue_reset(struct iwl_priv *priv, |
416 | struct iwl_tx_queue *txq, | 417 | struct iwl_tx_queue *txq, |
417 | int slots_num, u32 txq_id); | 418 | int slots_num, u32 txq_id); |
419 | void iwl_legacy_tx_queue_unmap(struct iwl_priv *priv, int txq_id); | ||
418 | void iwl_legacy_tx_queue_free(struct iwl_priv *priv, int txq_id); | 420 | void iwl_legacy_tx_queue_free(struct iwl_priv *priv, int txq_id); |
419 | void iwl_legacy_setup_watchdog(struct iwl_priv *priv); | 421 | void iwl_legacy_setup_watchdog(struct iwl_priv *priv); |
420 | /***************************************************** | 422 | /***************************************************** |