mirror of
https://github.com/ipxe/ipxe
synced 2025-12-27 10:02:42 +03:00
Must request data before anything actually happens...
This commit is contained in:
@@ -224,6 +224,10 @@ int open ( const char *uri_string ) {
|
|||||||
if ( ( rc = xfer_open_uri ( &file->xfer, uri_string ) ) != 0 )
|
if ( ( rc = xfer_open_uri ( &file->xfer, uri_string ) ) != 0 )
|
||||||
goto err;
|
goto err;
|
||||||
|
|
||||||
|
/* Request data */
|
||||||
|
if ( ( rc = xfer_request_all ( &file->xfer ) ) != 0 )
|
||||||
|
goto err;
|
||||||
|
|
||||||
/* Wait for open to succeed or fail */
|
/* Wait for open to succeed or fail */
|
||||||
while ( list_empty ( &file->data ) ) {
|
while ( list_empty ( &file->data ) ) {
|
||||||
step();
|
step();
|
||||||
|
|||||||
Reference in New Issue
Block a user