http://git.etherboot.org
/
people
/
dverkamp
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b63b14f
)
Must request data before anything actually happens...
author
Michael Brown
<mcb30@etherboot.org>
Fri, 18 May 2007 15:36:11 +0000
(15:36 +0000)
committer
Michael Brown
<mcb30@etherboot.org>
Fri, 18 May 2007 15:36:11 +0000
(15:36 +0000)
src/core/posix_io.c
patch
|
blob
|
history
diff --git
a/src/core/posix_io.c
b/src/core/posix_io.c
index
2974a4c
..
a8876b7
100644
(file)
--- a/
src/core/posix_io.c
+++ b/
src/core/posix_io.c
@@
-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();