Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 203901
b: refs/heads/master
c: db08006
h: refs/heads/master
i:
  203899: a51921d
v: v3
  • Loading branch information
Dan Williams authored and John W. Linville committed Jul 27, 2010
1 parent 8c3d8a5 commit d1afb2e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 24 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 49a08af5b9aa91207e3654ca3c88ca4d2596601c
refs/heads/master: db08006fc4e825e632083f2a2de827ca2121c28d
13 changes: 0 additions & 13 deletions trunk/drivers/net/wireless/libertas/cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1204,19 +1204,6 @@ int lbs_prepare_and_send_command(struct lbs_private *priv,
ret = lbs_cmd_reg_access(cmdptr, cmd_action, pdata_buf);
break;

case CMD_802_11_SET_AFC:
case CMD_802_11_GET_AFC:

cmdptr->command = cpu_to_le16(cmd_no);
cmdptr->size = cpu_to_le16(sizeof(struct cmd_ds_802_11_afc) +
sizeof(struct cmd_header));

memmove(&cmdptr->params.afc,
pdata_buf, sizeof(struct cmd_ds_802_11_afc));

ret = 0;
goto done;

#ifdef CONFIG_LIBERTAS_MESH

case CMD_BT_ACCESS:
Expand Down
9 changes: 0 additions & 9 deletions trunk/drivers/net/wireless/libertas/cmdresp.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,15 +113,6 @@ static inline int handle_cmd_response(struct lbs_private *priv,
ret = lbs_ret_reg_access(priv, respcmd, resp);
break;

case CMD_RET(CMD_802_11_SET_AFC):
case CMD_RET(CMD_802_11_GET_AFC):
spin_lock_irqsave(&priv->driver_lock, flags);
memmove((void *)priv->cur_cmd->callback_arg, &resp->params.afc,
sizeof(struct cmd_ds_802_11_afc));
spin_unlock_irqrestore(&priv->driver_lock, flags);

break;

case CMD_RET(CMD_802_11_BEACON_STOP):
break;

Expand Down
4 changes: 3 additions & 1 deletion trunk/drivers/net/wireless/libertas/host.h
Original file line number Diff line number Diff line change
Expand Up @@ -882,7 +882,10 @@ struct cmd_ds_802_11_led_ctrl {
u8 data[256];
} __packed;

/* Automatic Frequency Control */
struct cmd_ds_802_11_afc {
struct cmd_header hdr;

__le16 afc_auto;
union {
struct {
Expand Down Expand Up @@ -965,7 +968,6 @@ struct cmd_ds_command {
struct cmd_ds_bbp_reg_access bbpreg;
struct cmd_ds_rf_reg_access rfreg;

struct cmd_ds_802_11_afc afc;
struct cmd_ds_802_11_led_ctrl ledgpio;

struct cmd_ds_bt_access bt;
Expand Down

0 comments on commit d1afb2e

Please sign in to comment.