diff options
author | Andreas Kemnade <andreas@kemnade.info> | 2016-01-30 18:01:51 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2016-02-06 14:02:09 +0200 |
commit | 0a7701b4defcebc7ce461355e6d9478df313b084 (patch) | |
tree | 27b3f3d83ae209774037d244d4725965ead92ea7 /drivers/net/wireless/marvell/libertas/if_sdio.c | |
parent | efdf0e393e76aa18e9c2ec0ca9b3a71ad410994b (diff) |
libertas: fix pointer bugs for PS_MODE commands
struct cmd_ds_802_11_ps_mode
contains the command header and a pointer to it was
initialized with data points to the body which leads to
mis-interpretation of the cmd_ds_802_11_ps_mode.action member.
cmd[0] contains the header, &cmd[1] points beyond that.
cmdnode->cmdbuf is a pointer to the command buffer
This piece of code was unused since power saving was
not enabled.
Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/marvell/libertas/if_sdio.c')
0 files changed, 0 insertions, 0 deletions