diff options
author | John W. Linville <linville@tuxdriver.com> | 2013-02-19 14:56:34 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-02-19 14:56:34 -0500 |
commit | 0b7164458fc184455239ea3676af1b362df1ce1d (patch) | |
tree | 6b968c6ec46e7a949e930de85f75afc337128b97 /drivers/net/wireless/mwifiex/11n.c | |
parent | 303c07db487be59ae9fda10600ea65ca11c21497 (diff) | |
parent | b53cf458ea20dd7f5e32611366f63728e40c9021 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem
Diffstat (limited to 'drivers/net/wireless/mwifiex/11n.c')
-rw-r--r-- | drivers/net/wireless/mwifiex/11n.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwifiex/11n.c b/drivers/net/wireless/mwifiex/11n.c index 25596ab0c576..45f19716687e 100644 --- a/drivers/net/wireless/mwifiex/11n.c +++ b/drivers/net/wireless/mwifiex/11n.c | |||
@@ -250,7 +250,8 @@ int mwifiex_cmd_amsdu_aggr_ctrl(struct host_cmd_ds_command *cmd, | |||
250 | * - Setting HT Tx capability and HT Tx information fields | 250 | * - Setting HT Tx capability and HT Tx information fields |
251 | * - Ensuring correct endian-ness | 251 | * - Ensuring correct endian-ness |
252 | */ | 252 | */ |
253 | int mwifiex_cmd_11n_cfg(struct host_cmd_ds_command *cmd, u16 cmd_action, | 253 | int mwifiex_cmd_11n_cfg(struct mwifiex_private *priv, |
254 | struct host_cmd_ds_command *cmd, u16 cmd_action, | ||
254 | struct mwifiex_ds_11n_tx_cfg *txcfg) | 255 | struct mwifiex_ds_11n_tx_cfg *txcfg) |
255 | { | 256 | { |
256 | struct host_cmd_ds_11n_cfg *htcfg = &cmd->params.htcfg; | 257 | struct host_cmd_ds_11n_cfg *htcfg = &cmd->params.htcfg; |
@@ -260,6 +261,10 @@ int mwifiex_cmd_11n_cfg(struct host_cmd_ds_command *cmd, u16 cmd_action, | |||
260 | htcfg->action = cpu_to_le16(cmd_action); | 261 | htcfg->action = cpu_to_le16(cmd_action); |
261 | htcfg->ht_tx_cap = cpu_to_le16(txcfg->tx_htcap); | 262 | htcfg->ht_tx_cap = cpu_to_le16(txcfg->tx_htcap); |
262 | htcfg->ht_tx_info = cpu_to_le16(txcfg->tx_htinfo); | 263 | htcfg->ht_tx_info = cpu_to_le16(txcfg->tx_htinfo); |
264 | |||
265 | if (priv->adapter->is_hw_11ac_capable) | ||
266 | htcfg->misc_config = cpu_to_le16(txcfg->misc_config); | ||
267 | |||
263 | return 0; | 268 | return 0; |
264 | } | 269 | } |
265 | 270 | ||