[PATCH 4/5] wcn36xx: copy wmm_enabled into v1 config

Eugene Krasnikov k.eugene.e at gmail.com
Tue Mar 4 03:49:21 EST 2014


Good catch!

2014-03-03 20:45 GMT+00:00 Bob Copeland <me at bobcopeland.com>:
> wmm_enabled is never set for the version 1 sta config.
>
> Signed-off-by: Bob Copeland <bob at cozybit.com>
> ---
> Also it is not properly initialized - sta->wme is only valid for
> AP mode, but that's for another day.
> ---
>  smd.c |    1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/smd.c b/smd.c
> index 68fece2..1a4ce76 100644
> --- a/smd.c
> +++ b/smd.c
> @@ -968,6 +968,7 @@ static void wcn36xx_smd_convert_sta_to_v1(struct wcn36xx *wcn,
>         v1->type = orig->type;
>         v1->listen_interval = orig->listen_interval;
>         v1->ht_capable = orig->ht_capable;
> +       v1->wmm_enabled = orig->wmm_enabled;
>
>         v1->max_ampdu_size = orig->max_ampdu_size;
>         v1->max_ampdu_density = orig->max_ampdu_density;
> --
> 1.7.10.4
>
>
> _______________________________________________
> wcn36xx mailing list
> wcn36xx at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/wcn36xx



-- 
Best regards,
Eugene



More information about the wcn36xx mailing list