]> err.no Git - linux-2.6/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)
commit5d283e8cdb8097b6a3e9304c9c8942ad9dc1a4eb
treeaf8cdee59c2895dc4c95419e1fa3ed891f953f73
parent0d580a774b3682b8b2b5c89ab9b813d149ef28e7
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