As the previous comment, if `navigator.mozWifiManager.connection.network` is null in this case, we don't need this line.