]> git.zerfleddert.de Git - amt/commitdiff
fix order of OEMparameters to enable BIOS SOL on newer AMT generations master
authorMichael Gernoth <michael@gernoth.net>
Tue, 24 Nov 2009 10:08:28 +0000 (11:08 +0100)
committerMichael Gernoth <michael@gernoth.net>
Tue, 24 Nov 2009 10:08:28 +0000 (11:08 +0100)
(fixes soap failure)

amttool

diff --git a/amttool b/amttool
index 3aaab534d3ac048d57a411095086275449f866b3..69bd1bb84b39a39dc4e4589c744d309336154cc5 100755 (executable)
--- a/amttool
+++ b/amttool
@@ -279,9 +279,9 @@ sub remote_control($) {
                push (@args, SOAP::Data->name('Command' => $rcc{$command}));
                push (@args, SOAP::Data->name('IanaOemNumber' => 343));
                if ($command ne 'powerdown') {
                push (@args, SOAP::Data->name('Command' => $rcc{$command}));
                push (@args, SOAP::Data->name('IanaOemNumber' => 343));
                if ($command ne 'powerdown') {
-                       push (@args, SOAP::Data->name('OEMparameters' => 1 ));
                        push (@args, SOAP::Data->name('SpecialCommand' => 0xC1 ));
                        push (@args, SOAP::Data->name('SpecialCommandParameter' => 0));
                        push (@args, SOAP::Data->name('SpecialCommand' => 0xC1 ));
                        push (@args, SOAP::Data->name('SpecialCommandParameter' => 0));
+                       push (@args, SOAP::Data->name('OEMparameters' => 1 ));
                }
                do_soap($rcs, "RemoteControl", @args);
        } else {
                }
                do_soap($rcs, "RemoteControl", @args);
        } else {
Impressum, Datenschutz