Wifi-Hal: Avoid infinite loop on pkt stats of V0 version

Currently when hardware version received as NULL string,
pkt_log sets to V0 version i.e. PKT_LOG_V0 and parsing of
packet stats done by decrementing specified length mention
in packet log header , in case of PKT_LOG_V0 this length is
decrementing which makes parsing stuck to infinite loop.
To overcome this, parsing length is decremented apart from V2
packet log version too.

CRs-Fixed: 2422931
Bug: 129272032
Bug: 118484168
Test: Connect STA to AP and play youtube.

Change-Id: I573a5158b97f2c2b1b59026a8ae14e23ffc8135f
1 file changed
tree: 134dfb13e513244d4daef74cf03a95f29ea8bc1b
  1. cld80211-lib/
  2. qcwcn/
  3. Android.mk
  4. OWNERS