From: Johannes Berg Date: Thu, 7 Mar 2013 12:22:05 +0000 (+0100) Subject: mac80211: fix crash with P2P Device returning action frames X-Git-Tag: v3.9-rc6~38^2~18^2^2~9^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07e5a5f5ab7474589c15fc5d88e4f7fc43979530;p=pandora-kernel.git mac80211: fix crash with P2P Device returning action frames If a P2P Device interface receives an unhandled action frame, we attempt to return it. This crashes because it doesn't have a channel context. Fix the crash by using status->band and properly mark the return frame as an off-channel frame. Reported-by: Ilan Peer Reviewed-by: Ilan Peer Signed-off-by: Johannes Berg --- Reading git-diff-tree failed