* grub-core/net/drivers/i386/pc/pxe.c (grub_pxe_recv): Relax checks as

a workaround for intel problem.
This commit is contained in:
Seth Goldberg 2012-01-24 03:01:46 +01:00 committed by Vladimir 'phcoder' Serbinenko
parent 668327923f
commit e555f379be
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-01-14 Seth Goldberg <seth.goldberg@oracle.com>
* grub-core/net/drivers/i386/pc/pxe.c (grub_pxe_recv): Relax checks as
a workaround for intel problem.
2012-01-23 Paulo de Rezende Pinatti <ppinatti@linux.vnet.ibm.com>
2012-01-23 Vladimir Serbinenko <phcoder@gmail.com>
2012-01-23 pfsmorigo

View File

@ -179,7 +179,11 @@ grub_pxe_recv (const struct grub_net_card *dev __attribute__ ((unused)))
grub_memset (isr, 0, sizeof (*isr));
isr->func_flag = GRUB_PXE_ISR_IN_START;
grub_pxe_call (GRUB_PXENV_UNDI_ISR, isr, pxe_rm_entry);
if (isr->status || isr->func_flag != GRUB_PXE_ISR_OUT_OURS)
/* Normally according to the specification we should also check
that isr->func_flag != GRUB_PXE_ISR_OUT_OURS but unfortunately it
breaks on intel cards.
*/
if (isr->status)
{
in_progress = 0;
return NULL;