]> git.baikalelectronics.ru Git - kernel.git/commit
libertas: Fix ethtool statistics
authorDavid Woodhouse <dwmw2@infradead.org>
Mon, 19 May 2008 15:32:02 +0000 (16:32 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 21 May 2008 02:40:31 +0000 (22:40 -0400)
commitf36e23dc4bef0d92eb53e03a37f20f19381cff8b
treeaf8cdee59c2895dc4c95419e1fa3ed891f953f73
parent7ade847cb453ae754b5129949b1205225d14c830
libertas: Fix ethtool statistics

Fix various problems:
 - We converted MESH_ACCESS to a direct command but missed this caller.
 - We were trying to access mesh stats even on meshless firmware.
 - We should really zero the buffer if something goes wrong.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/ethtool.c