From: Johannes Berg Date: Mon, 8 Jul 2013 08:43:31 +0000 (+0200) Subject: mac80211: fix ethtool stats for non-station interfaces X-Git-Tag: v3.11-rc4~22^2~25^2^2~8^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e13bae4f807401729b3f27c7e882a96b8b292809;p=pandora-kernel.git mac80211: fix ethtool stats for non-station interfaces As reported in https://bugzilla.kernel.org/show_bug.cgi?id=60514, the station loop never initialises 'sinfo' and therefore adds up a stack values, leaking stack information (the number of times it adds values is easily obtained another way.) Fix this by initialising the sinfo for each station to add. Cc: stable@vger.kernel.org Signed-off-by: Johannes Berg --- Reading git-diff-tree failed