]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Set FORCE_FREQ flag as part of p2p_prepare_channel()
authorJouni Malinen <j@w1.fi>
Thu, 27 Dec 2012 05:58:04 +0000 (07:58 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 27 Dec 2012 05:58:04 +0000 (07:58 +0200)
commit92ac756c84f4001269f551236c55f0b115a4dd7f
tree073494a85abc8890df85d8e0d20b08b7b9e33ce2
parentb1129f657c3220db3b8bcfaac19f5b57f8222294
P2P: Set FORCE_FREQ flag as part of p2p_prepare_channel()

Both p2p_connect and p2p_authorize use the same functionality to select
the channel preferences for GO Negotiation. The part of setting this
device flag was copied to each function, but it can also be handled by
the shared function after some reordering of code.

Signed-hostap: Jouni Malinen <j@w1.fi>
src/p2p/p2p.c