]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commita92eecbbeaf01ea2267751569dd3301248513915
tree3d351cba7e063f9e2fa1cf211df4f6cf9b886fb3
parentc07fe5ae0667f1077d671f62a093261223f918af
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