Fix e1000 bug introduced in 123cf7

This commit is contained in:
Erik van der Kouwe 2011-07-13 11:36:10 +02:00
parent 253c293213
commit 66bc7580c7

View file

@ -952,7 +952,7 @@ int reg;
(reg << e->eeprom_addr_off) | (E1000_REG_EERD_START));
/* Wait until ready. */
while (!(data = (e1000_reg_read(e, E1000_REG_EERD)) & e->eeprom_done_bit));
while (!((data = (e1000_reg_read(e, E1000_REG_EERD))) & e->eeprom_done_bit));
return data >> 16;
}