summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/mvm/tx.c
diff options
context:
space:
mode:
authorEmmanuel Grumbach2013-10-22 10:27:55 +0200
committerEmmanuel Grumbach2013-12-09 21:27:56 +0100
commit3961a61aad9b711bcd74aa7ea2c3655046df7b43 (patch)
treebe1d6c60711e09bf7e5402d00480d2f1655c9805 /drivers/net/wireless/iwlwifi/mvm/tx.c
parentMerge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linvil... (diff)
downloadkernel-qcow2-linux-3961a61aad9b711bcd74aa7ea2c3655046df7b43.tar.gz
kernel-qcow2-linux-3961a61aad9b711bcd74aa7ea2c3655046df7b43.tar.xz
kernel-qcow2-linux-3961a61aad9b711bcd74aa7ea2c3655046df7b43.zip
iwlwifi: remove TX_CMD id from transport layer
The transport layer doesn't need to know the TX_CMD id. It can be set by the op_mode. The transport layer still needs to know the layout of the Tx command because of alignment issues and because of the scratch pointer. Reviewed-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/tx.c')
-rw-r--r--drivers/net/wireless/iwlwifi/mvm/tx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/tx.c b/drivers/net/wireless/iwlwifi/mvm/tx.c
index 43d97c33a75a..1f1945806421 100644
--- a/drivers/net/wireless/iwlwifi/mvm/tx.c
+++ b/drivers/net/wireless/iwlwifi/mvm/tx.c
@@ -276,6 +276,7 @@ iwl_mvm_set_tx_params(struct iwl_mvm *mvm, struct sk_buff *skb,
return NULL;
memset(dev_cmd, 0, sizeof(*dev_cmd));
+ dev_cmd->hdr.cmd = TX_CMD;
tx_cmd = (struct iwl_tx_cmd *)dev_cmd->payload;
if (info->control.hw_key)