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. -- Rafał