diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2011-07-07 18:20:01 +0300 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-07-21 07:27:45 -0700 |
commit | 56d90f4c8ac186a708e6af290d23857ea901ba05 (patch) | |
tree | ad02c112eeb1539f978ccfbc3a58cff8ac2c5fe6 /drivers/net/wireless/iwlwifi/iwl-trans.h | |
parent | d931998669c3e0e917bd9983880f3498c27de0af (diff) | |
download | lwn-56d90f4c8ac186a708e6af290d23857ea901ba05.tar.gz lwn-56d90f4c8ac186a708e6af290d23857ea901ba05.zip |
iwlagn: add kick_nic API to transport layer
kick_nic means to remove the RESET bit from the embedded CPU
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-trans.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-trans.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-trans.h b/drivers/net/wireless/iwlwifi/iwl-trans.h index 16cdb89b02fc..9a950492ca73 100644 --- a/drivers/net/wireless/iwlwifi/iwl-trans.h +++ b/drivers/net/wireless/iwlwifi/iwl-trans.h @@ -119,6 +119,11 @@ static inline int trans_tx(struct iwl_priv *priv, struct sk_buff *skb, return priv->trans.ops->tx(priv, skb, tx_cmd, txq_id, fc, ampdu, ctx); } +static inline void trans_kick_nic(struct iwl_priv *priv) +{ + priv->trans.ops->kick_nic(priv); +} + static inline void trans_sync_irq(struct iwl_priv *priv) { priv->trans.ops->sync_irq(priv); |