summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-09-07 09:04:38 +0300
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-09-07 14:41:10 +0300
commit18d852960a02a9939616787043cddea68e92f226 (patch)
tree7833fa2c8dbdea557473ae42515a691cc8709807
parent4fe07dfed4f720136ee142e56a9d43242c8c78dc (diff)
downloadconnman-18d852960a02a9939616787043cddea68e92f226.tar.gz
connman-18d852960a02a9939616787043cddea68e92f226.tar.bz2
connman-18d852960a02a9939616787043cddea68e92f226.zip
tethering: Re-add error message about missing bridge functionality
Commit 4fe07df removed an error message about missing bridge functionality. Return it back.
-rw-r--r--src/tethering.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tethering.c b/src/tethering.c
index b7343032..2d66cda3 100644
--- 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;
}