Index: chromeos/network/onc/onc_translator_shill_to_onc.cc |
diff --git a/chromeos/network/onc/onc_translator_shill_to_onc.cc b/chromeos/network/onc/onc_translator_shill_to_onc.cc |
index 224e26c870738d8185fc6fe4006b8323d9546b88..1b1ba7082c874bd936b9ed4f52b7b877c0eb319c 100644 |
--- a/chromeos/network/onc/onc_translator_shill_to_onc.cc |
+++ b/chromeos/network/onc/onc_translator_shill_to_onc.cc |
@@ -309,6 +309,10 @@ void ShillToONCTranslator::TranslateCellularWithState() { |
shill::kCellularApnProperty, &dictionary)) { |
TranslateAndAddNestedObject(::onc::cellular::kAPN, *dictionary); |
} |
+ if (shill_dictionary_->GetDictionaryWithoutPathExpansion( |
+ shill::kCellularLastGoodApnProperty, &dictionary)) { |
+ TranslateAndAddNestedObject(::onc::cellular::kLastGoodAPN, *dictionary); |
+ } |
// Merge the Device dictionary with this one (Cellular) using the |
// CellularDevice signature. |
const base::DictionaryValue* device_dictionary = NULL; |