diff options
Diffstat (limited to 'drivers/net/wireless/mwifiex/11n.c')
-rw-r--r-- | drivers/net/wireless/mwifiex/11n.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/drivers/net/wireless/mwifiex/11n.c b/drivers/net/wireless/mwifiex/11n.c index c57107a860d1..d64065ff235c 100644 --- a/drivers/net/wireless/mwifiex/11n.c +++ b/drivers/net/wireless/mwifiex/11n.c | |||
@@ -242,9 +242,7 @@ int mwifiex_ret_11n_addba_req(struct mwifiex_private *priv, | |||
242 | * | 242 | * |
243 | * Handling includes changing the header fields into CPU format. | 243 | * Handling includes changing the header fields into CPU format. |
244 | */ | 244 | */ |
245 | int mwifiex_ret_11n_cfg(struct mwifiex_private *priv, | 245 | int mwifiex_ret_11n_cfg(struct host_cmd_ds_command *resp, void *data_buf) |
246 | struct host_cmd_ds_command *resp, | ||
247 | void *data_buf) | ||
248 | { | 246 | { |
249 | struct mwifiex_ds_11n_tx_cfg *tx_cfg = NULL; | 247 | struct mwifiex_ds_11n_tx_cfg *tx_cfg = NULL; |
250 | struct host_cmd_ds_11n_cfg *htcfg = &resp->params.htcfg; | 248 | struct host_cmd_ds_11n_cfg *htcfg = &resp->params.htcfg; |
@@ -298,8 +296,7 @@ int mwifiex_cmd_recfg_tx_buf(struct mwifiex_private *priv, | |||
298 | * - Setting AMSDU control parameters (for SET only) | 296 | * - Setting AMSDU control parameters (for SET only) |
299 | * - Ensuring correct endian-ness | 297 | * - Ensuring correct endian-ness |
300 | */ | 298 | */ |
301 | int mwifiex_cmd_amsdu_aggr_ctrl(struct mwifiex_private *priv, | 299 | int mwifiex_cmd_amsdu_aggr_ctrl(struct host_cmd_ds_command *cmd, |
302 | struct host_cmd_ds_command *cmd, | ||
303 | int cmd_action, void *data_buf) | 300 | int cmd_action, void *data_buf) |
304 | { | 301 | { |
305 | struct host_cmd_ds_amsdu_aggr_ctrl *amsdu_ctrl = | 302 | struct host_cmd_ds_amsdu_aggr_ctrl *amsdu_ctrl = |
@@ -331,8 +328,7 @@ int mwifiex_cmd_amsdu_aggr_ctrl(struct mwifiex_private *priv, | |||
331 | * | 328 | * |
332 | * Handling includes changing the header fields into CPU format. | 329 | * Handling includes changing the header fields into CPU format. |
333 | */ | 330 | */ |
334 | int mwifiex_ret_amsdu_aggr_ctrl(struct mwifiex_private *priv, | 331 | int mwifiex_ret_amsdu_aggr_ctrl(struct host_cmd_ds_command *resp, |
335 | struct host_cmd_ds_command *resp, | ||
336 | void *data_buf) | 332 | void *data_buf) |
337 | { | 333 | { |
338 | struct mwifiex_ds_11n_amsdu_aggr_ctrl *amsdu_aggr_ctrl = NULL; | 334 | struct mwifiex_ds_11n_amsdu_aggr_ctrl *amsdu_aggr_ctrl = NULL; |
@@ -357,8 +353,7 @@ int mwifiex_ret_amsdu_aggr_ctrl(struct mwifiex_private *priv, | |||
357 | * - Setting HT Tx capability and HT Tx information fields | 353 | * - Setting HT Tx capability and HT Tx information fields |
358 | * - Ensuring correct endian-ness | 354 | * - Ensuring correct endian-ness |
359 | */ | 355 | */ |
360 | int mwifiex_cmd_11n_cfg(struct mwifiex_private *priv, | 356 | int mwifiex_cmd_11n_cfg(struct host_cmd_ds_command *cmd, |
361 | struct host_cmd_ds_command *cmd, | ||
362 | u16 cmd_action, void *data_buf) | 357 | u16 cmd_action, void *data_buf) |
363 | { | 358 | { |
364 | struct host_cmd_ds_11n_cfg *htcfg = &cmd->params.htcfg; | 359 | struct host_cmd_ds_11n_cfg *htcfg = &cmd->params.htcfg; |