Bug 1059702 - Use wifi.tethering.interface for wifi AP if it does exist. r=vchang

This commit is contained in:
Kai-Zhen Li 2014-08-28 18:34:38 +08:00
parent e9ee6168a0
commit 75f619638f

View File

@ -1113,7 +1113,7 @@ var WifiManager = (function() {
function doStartWifiTethering() {
cancelWaitForDriverReadyTimer();
WifiNetworkInterface.name = manager.ifname;
WifiNetworkInterface.name = libcutils.property_get("wifi.tethering.interface", manager.ifname);
gNetworkManager.setWifiTethering(enabled, WifiNetworkInterface,
configuration, function(result) {
if (result) {