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

Bob Copeland me at bobcopeland.com
Mon Mar 3 15:45:06 EST 2014


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




More information about the wcn36xx mailing list