]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Move random channel selection into a helper function
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 18 Nov 2013 15:41:39 +0000 (17:41 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 18 Nov 2013 15:50:21 +0000 (17:50 +0200)
commit5576663fba2487b282d5de77d94f3fe41dd4180a
treead4446e6917041811700ad2713118e9ebbc4c898
parentb17d89bd10b9f10cb075e91ca21231ab7f57dd02
P2P: Move random channel selection into a helper function

The new p2p_channel_select() function can be re-used to implement
random channel selection from a set of operating classes in all
places that need such functonality.

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