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:
4fe07df
)
tethering: Re-add error message about missing bridge functionality
author
Artem Bityutskiy
<artem.bityutskiy@linux.intel.com>
Fri, 7 Sep 2012 06:04:38 +0000
(09:04 +0300)
committer
Patrik Flykt
<patrik.flykt@linux.intel.com>
Fri, 7 Sep 2012 11:41:10 +0000
(14:41 +0300)
Commit
4fe07df
removed an error message about missing bridge functionality.
Return it back.
src/tethering.c
patch
|
blob
|
history
diff --git
a/src/tethering.c
b/src/tethering.c
index b7343032df28920a75b8036ca85c0575ca95599f..2d66cda3cdcddd04fab4f63f8c539c87d0de148e 100644
(file)
--- a/
src/tethering.c
+++ b/
src/tethering.c
@@
-89,8
+89,10
@@
const char *__connman_tethering_get_bridge(void)
args[1] = args[2] = 0;
err = ioctl(sk, SIOCGIFBR, &args);
close(sk);
- if (err == -1)
+ if (err == -1) {
+ connman_error("Missing support for 802.1d ethernet bridging");
return NULL;
+ }
return BRIDGE_NAME;
}