]> 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)
commit597d8a72cf4db79a60c4010c9e9790ab2d8a5009
tree3d351cba7e063f9e2fa1cf211df4f6cf9b886fb3
parentc151a973bab594b91dba24980d62f965e89eb1db
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