OSDN Git Service

Support conc_pref when use_p2p_group_interface=0
authorJeff Johnson <jjohnson@codeaurora.org>
Mon, 8 Oct 2012 02:34:24 +0000 (19:34 -0700)
committerIrfan Sheriff <isheriff@google.com>
Wed, 17 Oct 2012 20:51:03 +0000 (13:51 -0700)
commit12b1cd9e151d1e5c4d35aa38531f38b4ef5cc805
treec7b05d643cc92c3d95324a02a256f28ab8c5c88c
parent81931b8bb302c38828763358f9e15af2b22c52c6
Support conc_pref when use_p2p_group_interface=0

The original implementation of wpas_p2p_handle_frequency_conflicts()
only works correctly when P2P groups use a separate interface
(i.e. use_p2p_group_interface=1).  Update the implementation so
that it also works when the device interfaces is used
(i.e. use_p2p_group_interface=0).

Bug: 7290509
Change-Id: Icbc489125c5b7bd6e174d6aecd53555cdc9ad99d
wpa_supplicant/p2p_supplicant.c