commit | 07e5a5f5ab7474589c15fc5d88e4f7fc43979530 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Thu Mar 07 13:22:05 2013 +0100 |
committer | Johannes Berg <johannes.berg@intel.com> | Mon Mar 11 09:37:50 2013 +0200 |
tree | 27f08edd2f94fd63390a136c15386c574ce1a83a | |
parent | 1345ee6a6d90813f972379fad8b75f17026fc8b2 [diff] |
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 <ilan.peer@intel.com> Reviewed-by: Ilan Peer <ilan.peer@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>