mirror of
https://github.com/ipxe/ipxe.git
synced 2026-05-05 20:36:28 +02:00
Must request data before anything actually happens...
This commit is contained in:
parent
b63b14ff32
commit
7d2535779c
@ -224,6 +224,10 @@ int open ( const char *uri_string ) {
|
||||
if ( ( rc = xfer_open_uri ( &file->xfer, uri_string ) ) != 0 )
|
||||
goto err;
|
||||
|
||||
/* Request data */
|
||||
if ( ( rc = xfer_request_all ( &file->xfer ) ) != 0 )
|
||||
goto err;
|
||||
|
||||
/* Wait for open to succeed or fail */
|
||||
while ( list_empty ( &file->data ) ) {
|
||||
step();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user