]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: fix WoWLAN wakeup tracing
authorJohannes Berg <johannes.berg@intel.com>
Mon, 29 Apr 2013 10:09:14 +0000 (12:09 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 16 May 2013 20:38:03 +0000 (22:38 +0200)
commit8ffbac07bc7ce36edb2a87752bd6d47803d73544
tree3d351cba7e063f9e2fa1cf211df4f6cf9b886fb3
parent46055698347d1e3122af89b8e91a93dd19d56803
cfg80211: fix WoWLAN wakeup tracing

If the device reports a non-wireless wakeup reason, the
tracing code crashes trying to dereference a NULL pointer.
Fix this by checking the pointer on all accesses and also
add a non_wireless tag to the event.

Cc: stable@vger.kernel.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/trace.h