My android version is 6.0.1 and i make this work with WI-Fi Protected Setup (WPS) for that i followed some instruction.I was executed some commands before that i enabled the hotspot in my phone.The hotspot working fine. But, the commands are not executed properly.root@sabresd_6dq:/ # **hostapd_cli**hostapd_cli v2.5-devel-6.0.1Copyright (c) 2004-2015, Jouni Malinen <j@w1.fi> and contributorsThis software may be distributed under the terms of the BSD license.See README for more details.**Could not connect to hostapd  re-trying**Kindly help me to resolve this issue.
Commands for execute wps in Android Linux
linux kernel;wifi;android;wifi hotspot;wps