QM_reset_tmu3(): Use queue number as index when initializing weight

The current code uses the uninitialized variable 'i' to index the weight, use
the queue number instead

Change-Id: I3237b6ce4d43ebbc921c8ac490eae35ed44013ac
diff --git a/pfe/c2000/control_qm.c b/pfe/c2000/control_qm.c
index 8c677f7..24d48f2 100644
--- a/pfe/c2000/control_qm.c
+++ b/pfe/c2000/control_qm.c
@@ -578,7 +578,7 @@
 	{
 		qm_context_ctl->max_qdepth[qno] = DEFAULT_TMU3_QDEPTH;
 		qm_context_ctl->q[qno].shaper_num = NO_SHAPER;
-		qm_context_ctl->weight[i] = 0;
+		qm_context_ctl->weight[qno] = 0;
 
 		switch(qno)
 		{
@@ -1260,4 +1260,3 @@
 {
 
 }
-