From 9e957530d8b2f68473f06c8b46f20e571b072578 Mon Sep 17 00:00:00 2001 From: Dmitry Shmidt Date: Wed, 3 Sep 2014 15:19:36 -0700 Subject: [PATCH] softap: Add wowlan_triggers=any parameter New kernels in wiphy_suspend() will call cfg80211_leave_all() that will eventually end up in cfg80211_stop_ap() unless wowlan_triggers were set. Bug: 17269024 Change-Id: I609d78f5bb573b4c6a9dae25a3b2a345499f6853 Signed-off-by: Dmitry Shmidt --- server/SoftapController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/SoftapController.cpp b/server/SoftapController.cpp index 3129513..07c77b0 100644 --- a/server/SoftapController.cpp +++ b/server/SoftapController.cpp @@ -137,7 +137,7 @@ int SoftapController::setSoftap(int argc, char *argv[]) { 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) { -- 2.11.0