[PATCH] P2P: Add deinit_p2p_cli op

Eliad Peller eliad
Mon Mar 5 03:48:24 PST 2012


hi Vitaly,

On Mon, Mar 5, 2012 at 1:29 PM, Vitaly Wool <vitalywool at gmail.com> wrote:
> On Mon, Mar 5, 2012 at 11:39 AM, Eliad Peller <eliad at wizery.com> wrote:
>>
>> On p2p group removal, the GO is deinitialized correctly
>> (and the vif mode is set back to sta), but the P2P_CLI
>> isn't deinitialized, and the vif stays in P2P_CLI mode.
>>
>> Add a new deinit_p2p_cli op (similar to deinit_ap), which
>> currently only sets the interface back to sta mode.
>>
>> 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.

Eliad.



More information about the Hostap mailing list