projects
/
platform
/
core
/
api
/
wifi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82f8696
)
[wifi]: Fix:Return error in case proxy type Direct
53/28753/2
author
Maneesh Jain
<maneesh.jain@samsung.com>
Wed, 15 Oct 2014 10:59:28 +0000
(16:29 +0530)
committer
Maneesh Jain
<maneesh.jain@samsung.com>
Thu, 16 Oct 2014 04:29:34 +0000
(09:59 +0530)
Change-Id: If19af85380c887809a70251896600e8134e2705b
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
src/wifi-ap.c
patch
|
blob
|
history
diff --git
a/src/wifi-ap.c
b/src/wifi-ap.c
index 305f7c42b970cd3bda587425cba3995e25eac417..83fa2b79bbe95e4c8e5a92c3eed0c7424f4870f3 100755
(executable)
--- a/
src/wifi-ap.c
+++ b/
src/wifi-ap.c
@@
-676,7
+676,8
@@
EXPORT_API int wifi_ap_set_proxy_address(wifi_ap_h ap,
proxy_config.url = g_strdup(proxy_address);
err = connman_service_set_proxy_config(service, &proxy_config);
g_free(proxy_config.url);
- }
+ } else
+ return WIFI_ERROR_INVALID_PARAMETER;
if (err != CONNMAN_LIB_ERR_NONE)
return _wifi_connman_lib_error2wifi_error(err);