brcmsmac: fix statistic counter update function
authorArend van Spriel <arend@broadcom.com>
Wed, 29 Oct 2014 15:02:50 +0000 (16:02 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 30 Oct 2014 19:26:53 +0000 (15:26 -0400)
commit9146782b1bba3323ef492614402ab0805b597638
treed3e79114f2ccafa70ecf06b08c4c782fd53710c3
parent7a1283d8f5298437a454ec477384dcd9f9f88bac
brcmsmac: fix statistic counter update function

The 802.11 core statistics are retrieved from the core registers
but not stored. So the debug code was never triggered to give a
warning message on tx underruns or rx overflows. This patch fixes
this and assures the statistics are stored in the snapshot.

Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmsmac/main.c