projects
/
platform
/
core
/
api
/
wifi-manager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efce95f
)
Fix cppcheck 'clarifyCalculation' warnings
62/253362/1
author
Nishant Chaprana
<n.chaprana@samsung.com>
Tue, 9 Feb 2021 06:57:23 +0000
(12:27 +0530)
committer
Nishant Chaprana
<n.chaprana@samsung.com>
Tue, 9 Feb 2021 06:57:23 +0000
(12:27 +0530)
Change-Id: Id2c6e6466e27e948be4e4ace67f18fcf110abefa
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
src/wifi_internal.c
patch
|
blob
|
history
diff --git
a/src/wifi_internal.c
b/src/wifi_internal.c
index 4fa15c6ecfee7f5bf3c64378183364b8e905b287..25d7fa61e3cd92b1051ca8a39ca73e37c0b4b9cf 100755
(executable)
--- a/
src/wifi_internal.c
+++ b/
src/wifi_internal.c
@@
-2222,7
+2222,7
@@
int _wifi_netlink_scan_request(wifi_manager_h wifi, wifi_manager_netlink_scan_h
return WIFI_MANAGER_ERROR_OPERATION_FAILED;
}
- enable =
is_on & vconf_type
? true : false;
+ enable =
(is_on & vconf_type)
? true : false;
if (enable == false) {
WIFI_LOG(WIFI_ERROR, "SoftAP is not enabled");