prima: Purge oldest scan entry if max BSS limit reached

In the driver, while processing the scan results, if the max
BSS limit is reached, all the newest scan results are dropped
and stale scan results are updated to upper layers.

To address this, remove the oldest scan entry if the max
BSS limit is reached.

Change-Id: Ib85a8a3b66fbf903311002887a3c5c3d10bfbccf
CRs-Fixed: 991417
2 files changed
tree: 708974554893dfeff023917d5b7afed8ad50c0b5
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile