diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2011-06-21 14:25:45 +0300 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-07-01 07:57:45 -0700 |
commit | a0f6b0a211fbdfbae603ffa434f0d9e691e55ab9 (patch) | |
tree | 61ecef92736d4a15dfe1a18c1fe5f7667761a0dc /drivers/net/wireless/iwlwifi/iwl-dev.h | |
parent | c85eb6196958ae54eba3ff0660d2b5af3d58521a (diff) | |
download | talos-op-linux-a0f6b0a211fbdfbae603ffa434f0d9e691e55ab9.tar.gz talos-op-linux-a0f6b0a211fbdfbae603ffa434f0d9e691e55ab9.zip |
iwlagn: add rx_free to transport layer
The transport layer ness to release all rx ressources. This function is an API for it.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-dev.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-dev.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h index 7d3e55d0bc62..04b19a431397 100644 --- a/drivers/net/wireless/iwlwifi/iwl-dev.h +++ b/drivers/net/wireless/iwlwifi/iwl-dev.h @@ -1233,9 +1233,11 @@ struct iwl_trans; * struct iwl_trans_ops - transport specific operations * @rx_init: inits the rx memory, allocate it if needed + *@rx_free: frees the rx memory */ struct iwl_trans_ops { int (*rx_init)(struct iwl_priv *priv); + void (*rx_free)(struct iwl_priv *priv); }; struct iwl_trans { |