[PATCH] libertas: Properly handle responses from HOST_SLEEP_* commands.

Dan Williams dcbw at redhat.com
Mon Aug 20 13:09:56 EDT 2007


On Tue, 2007-08-07 at 11:45 -0700, Javier Cardona wrote:
> ---
>  drivers/net/wireless/libertas/cmdresp.c |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/net/wireless/libertas/cmdresp.c b/drivers/net/wireless/libertas/cmdresp.c
> index c43b272..a998bae 100644
> --- a/drivers/net/wireless/libertas/cmdresp.c
> +++ b/drivers/net/wireless/libertas/cmdresp.c
> @@ -699,6 +699,9 @@ static inline int handle_cmd_response(u16 respcmd,
>  			memcpy(adapter->cur_cmd->pdata_buf, &resp->params.mesh,
>  			       sizeof(resp->params.mesh));
>  		break;
> +	case CMD_RET(CMD_802_11_HOST_SLEEP_CFG):
> +	case CMD_RET(CMD_802_11_HOST_SLEEP_ACTIVATE):
> +		break;
>  	default:
>  		lbs_deb_host("CMD_RESP: unknown cmd response 0x%04x\n",
>  			    resp->command);

Punting until the HOST_SLEEP patches get merged from olpc-2.6 back into
libertas-2.6.

Dan





More information about the libertas-dev mailing list