Files
u-boot-sunxi/net
Jean-Jacques Hiblot c3211708cf net: eth-uclass: Fix for DM USB ethernet support
When a USB ethernet device is halted, the device driver is removed. When
this happens the uclass private memory is freed and uclass_priv is set to
NULL. This causes a data abort when uclass_priv->state is then set to
ETH_STATE_PASSIVE.

Fix it by checking if uclass_priv is NULL before setting uclass_priv->state

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
2018-08-21 16:21:37 +02:00
..
2018-06-13 13:54:15 -05:00
2017-08-16 08:22:18 -04:00
2018-07-26 14:08:20 -05:00
2018-07-26 14:08:20 -05:00
2018-07-26 14:08:19 -05:00
2018-06-13 13:54:15 -05:00
2018-07-02 14:14:20 -05:00
2018-07-02 14:14:20 -05:00