[PATCH] ieee80211: Provide generic get_stats implementation
authorDaniel Drake <dsd@gentoo.org>
Wed, 22 Nov 2006 03:15:46 +0000 (03:15 +0000)
committerJeff Garzik <jeff@garzik.org>
Sat, 2 Dec 2006 05:12:05 +0000 (00:12 -0500)
commit718cc4ca2bfb3263c7ea3ceba9c194f9cd7292e2
treef737e1634f6b88867bd0ac70e8512e23a548644b
parentb1382edef9c06eca337e8982e6040e0699abab82
[PATCH] ieee80211: Provide generic get_stats implementation

bcm43xx and ipw2100 currently duplicate the same simplistic get_stats
handler.  Additionally, zd1211rw requires the same handler to fix a
bug where all stats are reported as 0.

This patch adds a generic implementation to the ieee80211 layer,
which drivers are free to override.

Signed-off-by: Daniel Drake <dsd@gentoo.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/bcm43xx/bcm43xx_main.c
drivers/net/wireless/ipw2100.c
net/ieee80211/ieee80211_module.c