]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Update peer operating channel from GO Negotiation Confirm
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 26 Aug 2013 11:16:31 +0000 (14:16 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 26 Aug 2013 11:16:31 +0000 (14:16 +0300)
commit28de68ae56757969511ff6d7bcd4332bb04ecec7
tree4ba01f625b4ada1ea2eec83f42eac3a800260105
parent6701fdc37ff87ac62b5ae425d26aec9777d1ef08
P2P: Update peer operating channel from GO Negotiation Confirm

If the device that sends the GO Negotiation Confirm becomes the GO, it
may change its operating channel preference between GO Negotiation
Request and Confirm messages based on the channel list received from us.
Previously, the peer operating channel preference was not updated in
such a case and this could result in the initial scans after GO
Negotiation using incorrect operating channel and as such, extra delay
in the connection process. Fix this by updating the operating channel
information from GO Negotiation Confirm in cases where the peer becomes
the GO.

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