summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2011-07-24 16:46:13 -0700
committerDmitry Shmidt <dimitrysh@google.com>2011-07-24 16:46:13 -0700
commit54cf7fda69c3c442e7d2ac370a9c942fdb38dcd7 (patch)
tree40a8f5e67ee61c334c4d2642fb61f9edb72b65d3
parent389f8d1550880f3bc67ade3e93f2ddb767e64092 (diff)
downloadnetd-54cf7fda69c3c442e7d2ac370a9c942fdb38dcd7.tar.gz
softap: Add P2P option to fwreload command
Change-Id: I6fced56a6baa71a1d1fefe35832a43879ed12501 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
-rw-r--r--SoftapController.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/SoftapController.cpp b/SoftapController.cpp
index 9e99017e..860ef378 100644
--- a/SoftapController.cpp
+++ b/SoftapController.cpp
@@ -363,6 +363,8 @@ int SoftapController::fwReloadSoftap(int argc, char *argv[])
if (strcmp(argv[3], "AP") == 0) {
fwpath = (char *)wifi_get_fw_path(WIFI_GET_FW_PATH_AP);
+ } else if (strcmp(argv[3], "P2P") == 0) {
+ fwpath = (char *)wifi_get_fw_path(WIFI_GET_FW_PATH_P2P);
} else {
fwpath = (char *)wifi_get_fw_path(WIFI_GET_FW_PATH_STA);
}