aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/cmdresp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/libertas/cmdresp.c')
-rw-r--r--drivers/net/wireless/libertas/cmdresp.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/drivers/net/wireless/libertas/cmdresp.c b/drivers/net/wireless/libertas/cmdresp.c
index d670a811af04..8b71926d7a9f 100644
--- a/drivers/net/wireless/libertas/cmdresp.c
+++ b/drivers/net/wireless/libertas/cmdresp.c
@@ -372,23 +372,6 @@ static int lbs_ret_get_log(struct lbs_private *priv,
372 return 0; 372 return 0;
373} 373}
374 374
375static int lbs_ret_802_11_enable_rsn(struct lbs_private *priv,
376 struct cmd_ds_command *resp)
377{
378 struct cmd_ds_802_11_enable_rsn *enable_rsn = &resp->params.enbrsn;
379 uint32_t * pdata_buf = (uint32_t *)priv->cur_cmd->callback_arg;
380
381 lbs_deb_enter(LBS_DEB_CMD);
382
383 if (enable_rsn->action == cpu_to_le16(CMD_ACT_GET)) {
384 if (pdata_buf)
385 *pdata_buf = (uint32_t) le16_to_cpu(enable_rsn->enable);
386 }
387
388 lbs_deb_leave(LBS_DEB_CMD);
389 return 0;
390}
391
392static int lbs_ret_802_11_bcn_ctrl(struct lbs_private * priv, 375static int lbs_ret_802_11_bcn_ctrl(struct lbs_private * priv,
393 struct cmd_ds_command *resp) 376 struct cmd_ds_command *resp)
394{ 377{
@@ -495,10 +478,6 @@ static inline int handle_cmd_response(struct lbs_private *priv,
495 case CMD_RET(CMD_802_11_BEACON_STOP): 478 case CMD_RET(CMD_802_11_BEACON_STOP):
496 break; 479 break;
497 480
498 case CMD_RET(CMD_802_11_ENABLE_RSN):
499 ret = lbs_ret_802_11_enable_rsn(priv, resp);
500 break;
501
502 case CMD_RET(CMD_802_11_RATE_ADAPT_RATESET): 481 case CMD_RET(CMD_802_11_RATE_ADAPT_RATESET):
503 ret = lbs_ret_802_11_rate_adapt_rateset(priv, resp); 482 ret = lbs_ret_802_11_rate_adapt_rateset(priv, resp);
504 break; 483 break;