Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 79240
b: refs/heads/master
c: 38bfab1
h: refs/heads/master
v: v3
  • Loading branch information
David Woodhouse authored and David S. Miller committed Jan 28, 2008
1 parent 056cfcc commit 25c7311
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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: c6ad3738c689c2e64af2b74c1f407c9323ba40dd
refs/heads/master: 38bfab1a01c66cb1a5001dc702b0856b2f942fd5
4 changes: 2 additions & 2 deletions trunk/drivers/net/wireless/libertas/cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1175,7 +1175,7 @@ static void lbs_queue_cmd(struct lbs_private *priv,

/* Exit_PS command needs to be queued in the header always. */
if (le16_to_cpu(cmdnode->cmdbuf->command) == CMD_802_11_PS_MODE) {
struct cmd_ds_802_11_ps_mode *psm = (void *) cmdnode->cmdbuf;
struct cmd_ds_802_11_ps_mode *psm = (void *) &cmdnode->cmdbuf[1];

if (psm->action == cpu_to_le16(CMD_SUBCMD_EXIT_PS)) {
if (priv->psstate != PS_STATE_FULL_POWER)
Expand Down Expand Up @@ -1889,7 +1889,7 @@ int lbs_execute_next_command(struct lbs_private *priv)
* PS command. Ignore it if it is not Exit_PS.
* otherwise send it down immediately.
*/
struct cmd_ds_802_11_ps_mode *psm = (void *)cmd;
struct cmd_ds_802_11_ps_mode *psm = (void *)&cmd[1];

lbs_deb_host(
"EXEC_NEXT_CMD: PS cmd, action 0x%02x\n",
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/wireless/libertas/cmdresp.c
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ int lbs_process_rx_command(struct lbs_private *priv)
priv->cur_cmd_retcode = result;

if (respcmd == CMD_RET(CMD_802_11_PS_MODE)) {
struct cmd_ds_802_11_ps_mode *psmode = (void *) resp;
struct cmd_ds_802_11_ps_mode *psmode = (void *) &resp[1];
u16 action = le16_to_cpu(psmode->action);

lbs_deb_host(
Expand Down

0 comments on commit 25c7311

Please sign in to comment.