]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Do not stop AP mode Probe Request reporting on Listen stop
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 27 Dec 2011 18:32:29 +0000 (20:32 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 27 Dec 2011 18:32:29 +0000 (20:32 +0200)
commit0d891981db732ca5c22b5724d0f525440b292665
tree3d86bfef62d66c334576f84d4a7de70c0db4e51c
parentd7e70476f25b519fa538d0d0bd25db55a1fc8a07
nl80211: Do not stop AP mode Probe Request reporting on Listen stop

When nl80211_setup_ap() has enabled Probe Request reporting, this must
not be disabled when P2P Listen state is stopped to avoid breaking AP
mode operations. This could happen, e.g., if a Probe Request frame was
received from a P2P device that the we are trying to invite to our group
(i.e., when operating in GO role). p2p_probe_req_rx() calls
p2p_invite_start() in this case and that ends up calling
p2p->cfg->stop_listen() which calls probe_req_report() driver op.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
src/drivers/driver_nl80211.c