projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4361a54
)
tethering: Check for tethering_status to be FALSE when disabling it
author
Samuel Ortiz
<sameo@linux.intel.com>
Sat, 13 Nov 2010 23:52:41 +0000
(
00:52
+0100)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Sat, 13 Nov 2010 23:52:41 +0000
(
00:52
+0100)
src/tethering.c
patch
|
blob
|
history
diff --git
a/src/tethering.c
b/src/tethering.c
index
4428ff8
..
2facc70
100644
(file)
--- a/
src/tethering.c
+++ b/
src/tethering.c
@@
-197,7
+197,7
@@
void __connman_tethering_set_enabled(void)
void __connman_tethering_set_disabled(void)
{
- if (tethering_status ==
FALS
E)
+ if (tethering_status ==
TRU
E)
return;
DBG("enabled %d", tethering_enabled - 1);