wlan: Rectify the correct size while putting wifi stats

Presently there is an error in the calculation of the size.
The member tSirWifiRateStat is an static array of size 1 and not a
pointer. Thus while incrementing the size for the next instance, a page
fault occurs.

Instead of using numRates, use numRates-1 as the structure already
accounts for the first size.

Change-Id: Ic92179d1eb324f2092887a487f4a32598298a1b3
CRs-Fixed: 2357163
1 file changed
tree: b2b1ed89ee680bdffe6a31504e1af6a82771a5e6
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile