Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:StefanBruens:branches:hardware
heimdall
0001-Skip-session-end.-Some-devices-seem-to-han...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Skip-session-end.-Some-devices-seem-to-hang-afterwar.patch of Package heimdall
From b1501f576b3eda272d3e1597fd94be192244add0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de> Date: Sat, 11 Apr 2015 02:22:11 +0200 Subject: [PATCH] Skip session end. Some devices seem to hang afterwards. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stefan BrĂ¼ns <stefan.bruens@rwth-aachen.de> --- heimdall/source/BridgeManager.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/heimdall/source/BridgeManager.cpp b/heimdall/source/BridgeManager.cpp index dc2926a..8693a49 100644 --- a/heimdall/source/BridgeManager.cpp +++ b/heimdall/source/BridgeManager.cpp @@ -570,6 +570,12 @@ bool BridgeManager::BeginSession(void) bool BridgeManager::EndSession(bool reboot) const { + if (!reboot) + { + Interface::Print("End session skipped (no reboot)...\n"); + return true; + } + Interface::Print("Ending session...\n"); EndSessionPacket *endSessionPacket = new EndSessionPacket(EndSessionPacket::kRequestEndSession); -- 2.1.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor