On 29 June 2018 at 20:20, Joe Hershberger <joe.hershber...@ni.com> wrote: > With driver model, we were not checking if the state of the device was > marked as active before calling the halt function. Check that the device > is probed and also marked as active. This avoids the case where we were > calling halt on the first device in net_init() and the driver would > operate on bogus data structures causing problems. In this case, the > priv was all 0, so halt() would close STDIN. > > Signed-off-by: Joe Hershberger <joe.hershber...@ni.com> > --- > > Changes in v2: None > > net/eth-uclass.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Glass <s...@chromium.org> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot