brcm80211: fmac: use counters in brcmf_bus structure
authorArend van Spriel <arend@broadcom.com>
Fri, 2 Mar 2012 21:55:47 +0000 (22:55 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 5 Mar 2012 20:53:55 +0000 (15:53 -0500)
commit1d9c1796bc448d76429e0937ef69e4f29cd1adad
tree25caecd71f337c81d4dd88468440b85959d52b36
parentac94f196a5fed4915b82d71b9b111867d78df992
brcm80211: fmac: use counters in brcmf_bus structure

The usb code defines a structure for counting statistics. However,
it should use the statistics entry provided in brcmf_bus as that is
exposed to the net_device. The usb private statistics counter only
remains with counters for control packets between driver and usb
device.

Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/usb.c
drivers/net/wireless/brcm80211/brcmfmac/usb.h