grub2: disable 'check-macro-version' build rule in 'po' build
[openwrt/staging/mkresin.git] / package / boot / grub2 / patches / 210-fix_serial_rtscts.patch
1 --- a/grub-core/term/serial.c
2 +++ b/grub-core/term/serial.c
3 @@ -241,9 +241,9 @@ grub_cmd_serial (grub_extcmd_context_t c
4
5 if (state[OPTION_RTSCTS].set)
6 {
7 - if (grub_strcmp (state[OPTION_PARITY].arg, "on") == 0)
8 + if (grub_strcmp (state[OPTION_RTSCTS].arg, "on") == 0)
9 config.rtscts = 1;
10 - if (grub_strcmp (state[OPTION_PARITY].arg, "off") == 0)
11 + else if (grub_strcmp (state[OPTION_RTSCTS].arg, "off") == 0)
12 config.rtscts = 0;
13 else
14 return grub_error (GRUB_ERR_BAD_ARGUMENT,