]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mac80211: allow null chandef in tracing
authorArik Nemtsov <arik@wizery.com>
Sun, 25 Oct 2015 08:59:41 +0000 (10:59 +0200)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 5 Feb 2016 03:33:05 +0000 (19:33 -0800)
commit7d57fcef0f9de2accc29c1e213ced948d4d7ed3f
tree1dcf8204cd3727193748b4be8688794795624efc
parent1d56c3d4a96e046b93b1a5e2be6eef9a403d19d6
mac80211: allow null chandef in tracing

Orabug: 22641673

commit 254d3dfe445f94a764e399ca12e04365ac9413ed upstream.

In TDLS channel-switch operations the chandef can sometimes be NULL.
Avoid an oops in the trace code for these cases and just print a
chandef full of zeros.

Fixes: a7a6bdd0670fe ("mac80211: introduce TDLS channel switch ops")
Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit b45a2ff53cf39b31f69c7b6e34ffabe5f8c723c3)
Signed-off-by: Dan Duval <dan.duval@oracle.com>
net/mac80211/trace.h