]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
Must request data before anything actually happens...
authorMichael Brown <mcb30@etherboot.org>
Fri, 18 May 2007 15:36:11 +0000 (15:36 +0000)
committerMichael Brown <mcb30@etherboot.org>
Fri, 18 May 2007 15:36:11 +0000 (15:36 +0000)
src/core/posix_io.c

index 2974a4c85418f5c3eec6afe2c29cf997555a0d4a..a8876b732d79298aeab31cf9a02c9117dde4a884 100644 (file)
@@ -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();