qcwcn: Ignore IFACE_NUM_PEERS in LL_STATS_TYPE_IFACE event

If numPeers is not zero in LL_STATS_TYPE_IFACE event and
LL_STATS_TYPE_PEERS not received, Then peer_info in
wifi_iface_stat is not allocated. It results in issue that
upper layer may access random heap memory causing error.

Now that peer info is handled in LL_STATS_TYPE_PEERS event.
Remove the code which deals with FACE_NUM_PEERS attribute in
LL_STATS_TYPE_IFACE handler.

Change-Id: I73b4b23da20bb58fc61a406b62ff04aa677f816c
CRs-Fixed: 3349518
1 file changed
tree: 0f284f6e71fb2a811582e25de392de5e48998aff
  1. cld80211-lib/
  2. qcwcn/
  3. wcnss-service/
  4. Android.mk