]> asedeno.scripts.mit.edu Git - linux.git/commit
mac80211: ethtool: memset the whole sinfo struct to 0
authorJohannes Berg <johannes.berg@intel.com>
Fri, 20 Apr 2018 10:49:22 +0000 (13:49 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 7 May 2018 18:49:59 +0000 (20:49 +0200)
commitbfb27814e3d89a6abf362542bc4b26d84debc5b6
treebbf8dfcc2d580e9b0be71eba8023633ecc2ecf96
parent35f4962c01757db6cc1dcdf5526ec6e5afcb6245
mac80211: ethtool: memset the whole sinfo struct to 0

Rather than just setting the valid flags to 0 set the
whole struct to 0 since other places might rely on it.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ethtool.c