wlan: fix VOSS packet leak

The VOSS API to return packets to the system
had a bug which causes packet leak, the problem
occurs when low resource condition is hit and
the API is called to return a chain of VOSS packets
to the system. When the condition is hit the VOSS
packets are not added to the free or replenish
list and they are lost forever from the system.

Change-Id: I62d9238ba4ccb62365443650c8ad765c5042826f
CRs-Fixed: 653612
diff --git a/CORE/VOSS/src/vos_packet.c b/CORE/VOSS/src/vos_packet.c
index 34c706a..30b0c5b 100644
--- a/CORE/VOSS/src/vos_packet.c
+++ b/CORE/VOSS/src/vos_packet.c
@@ -1294,7 +1294,7 @@
    vos_pkt_get_packet_callback callback;
    v_SIZE_t *pCount;
    VOS_PKT_TYPE packetType = VOS_PKT_TYPE_TX_802_3_DATA;
-   v_BOOL_t lowResource = VOS_FALSE;
+   v_BOOL_t lowResource;
    struct mutex * mlock;
 
    // Validate the input parameter pointer
@@ -1310,6 +1310,7 @@
       pNext = pPacket->pNext;
       pPacket->pNext = NULL;
 
+      lowResource = VOS_FALSE;
       // Validate that this really an initialized vos packet
       if (unlikely(VPKT_MAGIC_NUMBER != pPacket->magic))
       {