netd: softap: Fix driver API for SoftAP
Change-Id: I5e17b2369d5ef34ea29b0c1b0df1d4977ff109ce
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
diff --git a/SoftapController.cpp b/SoftapController.cpp
index 392f11b..a6f9a56 100644
--- a/SoftapController.cpp
+++ b/SoftapController.cpp
@@ -128,7 +128,7 @@
LOGE("Softap stop - failed to open socket");
return -1;
}
- fnum = getPrivFuncNum(mIface, "WL_AP_STOP");
+ fnum = getPrivFuncNum(mIface, "AP_BSS_STOP");
if (fnum < 0) {
LOGE("Softap stop - function not supported");
return -1;
@@ -191,7 +191,7 @@
return -1;
}
- fnum = getPrivFuncNum(argv[2], "WL_AP_CFG");
+ fnum = getPrivFuncNum(argv[2], "AP_SET_CFG");
if (fnum < 0) {
LOGE("Softap set - function not supported");
return -1;