diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-03-07 13:22:05 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-03-11 09:37:50 +0200 |
commit | 07e5a5f5ab7474589c15fc5d88e4f7fc43979530 (patch) | |
tree | 27f08edd2f94fd63390a136c15386c574ce1a83a /samples/hidraw/hid-example.c | |
parent | 1345ee6a6d90813f972379fad8b75f17026fc8b2 (diff) | |
download | op-kernel-dev-07e5a5f5ab7474589c15fc5d88e4f7fc43979530.zip op-kernel-dev-07e5a5f5ab7474589c15fc5d88e4f7fc43979530.tar.gz |
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>
Diffstat (limited to 'samples/hidraw/hid-example.c')
0 files changed, 0 insertions, 0 deletions