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 3aaab53..69bd1bb 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