Commit d39e686
committed
NetworkPkg: Handle wait exit on poll failure
`EfiDhcp4Start()` would spin forever if `DhcpSb->IoStatus` is not
updated from `EFI_ALREADY_STARTED`.
This change captures the poll status (instead of ignoring it) and
break out on failures so scenarios like unplug/media-loss return an
error instead of hanging.
Signed-off-by: Michael Kubacki <[email protected]>1 parent 860256e commit d39e686
1 file changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
824 | 824 | | |
825 | 825 | | |
826 | 826 | | |
827 | | - | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
828 | 836 | | |
829 | 837 | | |
830 | 838 | | |
| |||
0 commit comments