int SoftapController::setSoftap(int argc, char *argv[]) {
char psk_str[2*SHA256_DIGEST_LENGTH+1];
int ret = ResponseCode::SoftapStatusResult;
- int i = 0;
int fd;
int hidden = 0;
int channel = AP_CHANNEL_DEFAULT;
asprintf(&wbuf, "interface=%s\ndriver=nl80211\nctrl_interface="
"/data/misc/wifi/hostapd\nssid=%s\nchannel=%d\nieee80211n=1\n"
- "hw_mode=g\nignore_broadcast_ssid=%d\n",
+ "hw_mode=g\nignore_broadcast_ssid=%d\nwowlan_triggers=any\n",
argv[2], argv[3], channel, hidden);
if (argc > 7) {
*/
int SoftapController::fwReloadSoftap(int argc, char *argv[])
{
- int i = 0;
char *fwpath = NULL;
if (argc < 4) {