mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 11:26:09 +00:00
Bug 896413 - dnsmasq is not deleted when wifi hotspot is turned off. r=mrbkap
This commit is contained in:
parent
ef7fa64ec3
commit
c8d791c2a6
@ -51,6 +51,8 @@ const NETD_COMMAND_UNSOLICITED = 600;
|
||||
const NETD_COMMAND_INTERFACE_CHANGE = 600;
|
||||
const NETD_COMMAND_BANDWIDTH_CONTROLLER = 601;
|
||||
|
||||
const INTERFACE_DELIMIT = "\0";
|
||||
|
||||
importScripts("systemlibs.js");
|
||||
|
||||
function netdResponseType(code) {
|
||||
@ -342,7 +344,8 @@ function onNetdMessage(data) {
|
||||
}
|
||||
|
||||
if (gCurrentCallback) {
|
||||
gCurrentCallback(isError(code), {code: code, reason: gReason.join(" ")});
|
||||
gCurrentCallback(isError(code),
|
||||
{code: code, reason: gReason.join(INTERFACE_DELIMIT)});
|
||||
gReason = [];
|
||||
}
|
||||
|
||||
@ -442,7 +445,7 @@ function preTetherInterfaceList(params, callback) {
|
||||
}
|
||||
|
||||
function postTetherInterfaceList(params, callback) {
|
||||
params.interfaceList = params.resultReason.split(" ");
|
||||
params.interfaceList = params.resultReason.split(INTERFACE_DELIMIT);
|
||||
|
||||
// Send the dummy command to continue the function chain.
|
||||
let command = DUMMY_COMMAND;
|
||||
|
Loading…
Reference in New Issue
Block a user