Fix e1000 bug introduced in 123cf7
This commit is contained in:
parent
253c293213
commit
66bc7580c7
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue