diff options
author | Matt Fleming <matt.fleming@intel.com> | 2013-06-12 07:52:29 +0100 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2013-06-12 07:52:29 +0100 |
commit | a4a1fb08c7eb33415709b246a840f08d086d5c5d (patch) | |
tree | 7c37c2b2b4d15d1bd47a22a83cf7c794a19e6a84 | |
parent | 02c28ea889fde01c857f004d257cb69015ce69a2 (diff) | |
download | syslinux-a4a1fb08c7eb33415709b246a840f08d086d5c5d.tar.gz syslinux-a4a1fb08c7eb33415709b246a840f08d086d5c5d.tar.xz syslinux-a4a1fb08c7eb33415709b246a840f08d086d5c5d.zip |
ldlinux: fix serial port handling regression
commit c4fa33189f1d ("serial: Clean up and abstract handling of serial
ports") removed an assignment to 'port' in the config parsing code which
is used to setup the serial ports. Restore the assignment.
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
-rw-r--r-- | com32/elflink/ldlinux/readconfig.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/com32/elflink/ldlinux/readconfig.c b/com32/elflink/ldlinux/readconfig.c index 7701acfe..35b137ea 100644 --- a/com32/elflink/ldlinux/readconfig.c +++ b/com32/elflink/ldlinux/readconfig.c @@ -1278,7 +1278,9 @@ do_include: baud = BAUD_DIVISOR / baud; baud &= 0xffff; BaudDivisor = baud; - SerialPort = get_serial_port(port); + + port = get_serial_port(port); + SerialPort = port; /* * Begin code to actually set up the serial port |