Skip to content

Commit

Permalink
[undi] Use current (rather than permanent) link-layer address
Browse files Browse the repository at this point in the history
Requested-by: Savitha Hiriyannaia <Savitha.Hiriyannaiah@emulex.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
  • Loading branch information
mcb30 committed Oct 28, 2011
1 parent 4f43690 commit a05a361
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/arch/i386/drivers/net/undinet.c
Expand Up @@ -539,6 +539,7 @@ int undinet_probe ( struct undi_device *undi ) {
&undi_info, sizeof ( undi_info ) ) ) != 0 )
goto err_undi_get_information;
memcpy ( netdev->hw_addr, undi_info.PermNodeAddress, ETH_ALEN );
memcpy ( netdev->ll_addr, undi_info.CurrentNodeAddress, ETH_ALEN );
undinic->irq = undi_info.IntNumber;
if ( undinic->irq > IRQ_MAX ) {
DBGC ( undinic, "UNDINIC %p has invalid IRQ %d\n",
Expand Down

0 comments on commit a05a361

Please sign in to comment.