P2P: Prefer 5 GHz channels for initial pick
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 18 Nov 2013 15:55:04 +0000 (17:55 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 18 Nov 2013 15:55:04 +0000 (17:55 +0200)
commitf24071076d72e58fd7d5aa29213336861332f224
tree3abdf7a49fd2e33783098afe49d100adf0644dbf
parentb2d4aaa2c7f35a7b7a5accb60d1583894299ef56
P2P: Prefer 5 GHz channels for initial pick

If there are no other preferences from local configuration or driver,
prefer a random 5 GHz channel instead of falling back to the fixed
pre-configured channel (which is selected by default to be 1, 6, or 11).

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