From: Rafał Miłecki [mailto:zajec5@xxxxxxxxx] > On 11 August 2016 at 07:44, Wright Feng <wright.feng@xxxxxxxxxxx> wrote: > > When stopping hostap on virtual interface, driver will set INFRA and > > AP mode that may affect the functionality on primary interface. For > > example, if we create and stop hostapd on virtual interface then > > association cannot work on primary interface because INFRA mode has > been set to IBSS. > > Hence we shut down AP and set IBSS mode only on primary interface. > > You also excluded from execution code setting BRCMF_C_SET_AP to 0. > Does it get a reset at some point? Maybe with a "bss" call? I'm wondering if > it's possible to use interface in managed mode if it was used as AP once. In this case, the virtual interface cannot be managed mode unless re-creating the interface. Driver should just exclude from setting INFRA mode when stopping AP with virtual interface, and I'll update this change in PATCH v3. Thanks for your review. > > -- > Rafał Regards, Wright This message and any attachments may contain Cypress (or its subsidiaries) confidential information. If it has been received in error, please advise the sender and immediately delete this message.