Hostadp_cli change default interface

WRT1900ACS
LEDE Reboot 17.01.2 r3435-65eec8bd5f / LuCI lede-17.01 branch (git-17.152.82987-7f6fc16)

These are my 2 wlan interfaces:

$ hostapd_cli interface 
Selected interface 'wlan24G'
Available interfaces:
wlan24G
wlan5G

But only wlan5G is permitted to use WPS.
I want to change selected interface but:

$ hostapd_cli interface wlan5G
Selected interface 'wlan24G'

Is this a bug?

I would like to change the default interface for hostapd_cli, how can I do this? (I know that I can add -i <interface_name> in every command).

It's not a bug. I just bumped into the same issue today when using WPS to connect a printer. Hostapd by default selects the first interface it encounters (see the hostapd --help).

ok, but hostapd_cli -h says too:

...
commands:
...
interface [ifname] = show interfaces/select interface
...

Supposedly it should select another interface with that command but it doesn't work. By that, I asked if this is a bug or an error in help.

Sorry, I overlooked that. It looks like the wording is off in the help page.

This problem still persists in hostapd_cli 2.7. Is there other way than hostapd_cli to kick client?

root@lede:~# hostapd_cli disassociate -i wlan0-2 11:a2:28:1a:22
Selected interface 'wlan1-2'
FAIL

root@lede:~# hostapd_cli interface
Selected interface 'wlan1-2'
Available interfaces:
wlan1-2
wlan1-1
wlan1
wlan0-2
wlan0-1
wlan0

Hi
May be you can use command:
hostapd_cli -i wlan0-2 disassociate wlan0-2 11:a2:28:1a:22