On Mon, Aug 29, 2011 at 03:35:14PM +0200, Ales Kozumplik wrote: > --- > loader2/net.c | 5 ++--- > 1 files changed, 2 insertions(+), 3 deletions(-) > > diff --git a/loader2/net.c b/loader2/net.c > index 9e5733d..ee63154 100644 > --- a/loader2/net.c > +++ b/loader2/net.c > @@ -2300,8 +2300,7 @@ int chooseNetworkInterface(struct loaderData_s * loaderData) { > devmacaddr = nl_mac2str(devices[i]); > if(!strcasecmp(devmacaddr, ibftmacaddr)){ > logMessage(INFO, "%s has the right MAC (%s), checking for link", devmacaddr, devices[i]); > - free(devmacaddr); > - if(get_link_status(devices[i]) == 1){ > + if (!waitForLink(devices[i])) { > lookForLink = 0; > loaderData->netDev = devices[i]; > logMessage(INFO, "%s has link, using it", devices[i]); > @@ -2320,8 +2319,8 @@ int chooseNetworkInterface(struct loaderData_s * loaderData) { > } > else{ > logMessage(DEBUGLVL, "%s (%s) is not it...", devices[i], devmacaddr); > - free(devmacaddr); > } > + free(devmacaddr); > } > > break; > -- > 1.7.6 Ack -- Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
Attachment:
pgp4E37ABbQBB.pgp
Description: PGP signature
_______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list