cfg80211: fix mic_failure tracing
authorEliad Peller <eliad@wizery.com>
Thu, 17 Jul 2014 12:00:56 +0000 (15:00 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 18 Jul 2014 07:53:56 +0000 (09:53 +0200)
commit8c26d458394be44e135d1c6bd4557e1c4e1a0535
treea7568b79cc1c4bce6eb0064bc37c48e34711f050
parent08b9939997df30e42a228e1ecb97f99e9c8ea84e
cfg80211: fix mic_failure tracing

tsc can be NULL (mac80211 currently always passes NULL),
resulting in NULL-dereference. check before copying it.

Cc: stable@vger.kernel.org
Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/trace.h