diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-06-18 01:13:31 +0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-06-18 13:51:57 +0400 |
commit | 49464ae502680e362be519ac024a0f5998faaa7e (patch) | |
tree | 7ec2113cdc9d08153afb47a21e50327ef696f1ca /drivers/net/wireless/iwlwifi/dvm/lib.c | |
parent | 44cc429cad4efd1f248b73bf6d692dfa5370dd58 (diff) | |
download | linux-49464ae502680e362be519ac024a0f5998faaa7e.tar.xz |
iwlwifi: remove testmode
The old nl80211 testmode is no longer useful in iwlwifi,
we're moving towards a new model internally and there's
no open tool to use it, so remove it.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/dvm/lib.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/lib.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/wireless/iwlwifi/dvm/lib.c b/drivers/net/wireless/iwlwifi/dvm/lib.c index 9879550a0fea..3d5bdc4217a8 100644 --- a/drivers/net/wireless/iwlwifi/dvm/lib.c +++ b/drivers/net/wireless/iwlwifi/dvm/lib.c @@ -1288,12 +1288,6 @@ int iwl_dvm_send_cmd(struct iwl_priv *priv, struct iwl_host_cmd *cmd) if (!(cmd->flags & CMD_ASYNC)) lockdep_assert_held(&priv->mutex); - if (priv->ucode_owner == IWL_OWNERSHIP_TM && - !(cmd->flags & CMD_ON_DEMAND)) { - IWL_DEBUG_HC(priv, "tm own the uCode, no regular hcmd send\n"); - return -EIO; - } - return iwl_trans_send_cmd(priv->trans, cmd); } |