diff options
Diffstat (limited to 'drivers/net/wireless/libertas/cmd.c')
-rw-r--r-- | drivers/net/wireless/libertas/cmd.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/net/wireless/libertas/cmd.c b/drivers/net/wireless/libertas/cmd.c index 5fef05f3cd00..b57625a38021 100644 --- a/drivers/net/wireless/libertas/cmd.c +++ b/drivers/net/wireless/libertas/cmd.c | |||
@@ -480,20 +480,6 @@ int lbs_cmd_802_11_key_material(struct lbs_private *priv, uint16_t cmd_action, | |||
480 | return ret; | 480 | return ret; |
481 | } | 481 | } |
482 | 482 | ||
483 | static int lbs_cmd_802_11_reset(struct cmd_ds_command *cmd, int cmd_action) | ||
484 | { | ||
485 | struct cmd_ds_802_11_reset *reset = &cmd->params.reset; | ||
486 | |||
487 | lbs_deb_enter(LBS_DEB_CMD); | ||
488 | |||
489 | cmd->command = cpu_to_le16(CMD_802_11_RESET); | ||
490 | cmd->size = cpu_to_le16(sizeof(struct cmd_ds_802_11_reset) + S_DS_GEN); | ||
491 | reset->action = cpu_to_le16(cmd_action); | ||
492 | |||
493 | lbs_deb_leave(LBS_DEB_CMD); | ||
494 | return 0; | ||
495 | } | ||
496 | |||
497 | static int lbs_cmd_802_11_snmp_mib(struct lbs_private *priv, | 483 | static int lbs_cmd_802_11_snmp_mib(struct lbs_private *priv, |
498 | struct cmd_ds_command *cmd, | 484 | struct cmd_ds_command *cmd, |
499 | int cmd_action, | 485 | int cmd_action, |
@@ -1419,10 +1405,6 @@ int lbs_prepare_and_send_command(struct lbs_private *priv, | |||
1419 | ret = lbs_cmd_80211_associate(priv, cmdptr, pdata_buf); | 1405 | ret = lbs_cmd_80211_associate(priv, cmdptr, pdata_buf); |
1420 | break; | 1406 | break; |
1421 | 1407 | ||
1422 | case CMD_802_11_RESET: | ||
1423 | ret = lbs_cmd_802_11_reset(cmdptr, cmd_action); | ||
1424 | break; | ||
1425 | |||
1426 | case CMD_802_11_AUTHENTICATE: | 1408 | case CMD_802_11_AUTHENTICATE: |
1427 | ret = lbs_cmd_80211_authenticate(priv, cmdptr, pdata_buf); | 1409 | ret = lbs_cmd_80211_authenticate(priv, cmdptr, pdata_buf); |
1428 | break; | 1410 | break; |