[PATCH] P2P: Add deinit_p2p_cli op

Eliad Peller eliad
Mon Mar 5 03:56:55 PST 2012


On Mon, Mar 5, 2012 at 1:49 PM, Vitaly Wool <vitalywool at gmail.com> wrote:
> On Mon, Mar 5, 2012 at 12:48 PM, Eliad Peller <eliad at wizery.com> wrote:
>>
>> >>
>> >> Signed-hostap: Eliad Peller <eliad at wizery.com>
>> >> intended-for: hostap-1
>> >
>> >
>> > why can't we modify wpa_supplicant_ap_deinit() instead?
>> >
>> i think wpa_supplicant_ap_deinit is meant for AP/GO interfaces, while
>> the patch tries to address P2P_CLI interface deinitialization.
>>
>
> Why is it now called in the station mode then?
>
it's called when the interface was removed, we are currently in
P2P_CLI mode, and we want to change the interface mode back to STA
mode (as drivers might pose different limitations on STA and P2P_CLI
interface modes)

Eliad.



More information about the Hostap mailing list