]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/netapi.git/commitdiff
Fix in netapi_pktioOpen when calling Qmss_queueOpen DEV.NETAPI.01.01.00.03A
authorTinku Mannan <tmannan@ti.com>
Tue, 30 Sep 2014 22:45:02 +0000 (18:45 -0400)
committerTinku Mannan <tmannan@ti.com>
Tue, 30 Sep 2014 22:45:02 +0000 (18:45 -0400)
ti/runtime/netapi/src/pktio.c

index 3800ce050c53f1b9c784427f639b0167096b2015..cbe802e79bb036d5b03565923a010e8bc975f85d 100755 (executable)
@@ -911,9 +911,10 @@ PKTIO_HANDLE_T * netapi_pktioOpen(NETAPI_T  n,
             return NULL;
       }
 
             return NULL;
       }
 
-     /* open a general queue (for now). use qnum that was just found */
+        /* open a general queue (for now). use qnum that was just found */
          p->q  = Qmss_queueOpen(qtype,
          p->q  = Qmss_queueOpen(qtype,
-                           p_qnum->qNum , &isAllocated);
+                           (p_qnum->qNum&0xfff)| (p_qnum->qMgr<<12),
+                           &isAllocated);
         if (p->q == (Qmss_QueueHnd) NULL)
         {
             netapi_Log("netapi_pktioCreate:  queueOpen failed\n");
         if (p->q == (Qmss_QueueHnd) NULL)
         {
             netapi_Log("netapi_pktioCreate:  queueOpen failed\n");