shill: push service naming down into Service class (instead of being
handled in each subclass)
BUG=chromium-os:17974
TEST=FEATURES="test nostrip noclean" emerge-x86-generic shill, and run on device
Change-Id: Ic251fec9c76fec1a4c3aa5ac8d0aba4c664e029d
Reviewed-on: http://gerrit.chromium.org/gerrit/4927
Reviewed-by: mukesh agrawal <quiche@chromium.org>
Tested-by: mukesh agrawal <quiche@chromium.org>
diff --git a/cellular.cc b/cellular.cc
index d23c146..e27de1d 100644
--- a/cellular.cc
+++ b/cellular.cc
@@ -97,8 +97,7 @@
service_(new CellularService(control_interface,
dispatcher,
manager,
- this,
- "cellular_" + link_name_)),
+ this)),
service_registered_(false) {
store_.RegisterConstString(flimflam::kCarrierProperty, &carrier_);
store_.RegisterBool(flimflam::kCellularAllowRoamingProperty, &allow_roaming_);