]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2d1dbd0e55742dbd70e07ad74ebf7ed5e19d1512
treed3e79114f2ccafa70ecf06b08c4c782fd53710c3
parent7a7e8a518877aab3ec33d4f21a04da06950933cb
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