wlan: Fix incorrect updation of RSSI value

Currently the stale_index is crossing the max value
of WLANTL_RSSI_SAMPLE_CNT and resulting in incorrect
updation of rssi_sample_sum.

Fix conditional logic such that stale_index does
not cross the max value.

Change-Id: I31f7206ab814d20161bcd68041cc1c06c5d1d8b8
CRs-Fixed: 2240051
1 file changed
tree: 689d8e09082541936692e645f721fcd799106d36
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile