[PATCH] net/wireless/libertas: do not strip header for PS_MODE commands

2015-12-22 Thread Andreas Kemnade
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. Signed-off-by: Andreas Kemnade --- drivers/net/wireless/libertas/cmd.c |4 ++--

[PATCH] net/wireless/libertas: do not strip header for PS_MODE commands

2015-12-22 Thread Andreas Kemnade
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. Signed-off-by: Andreas Kemnade --- drivers/net/wireless/libertas/cmd.c