net: ti: prueth_core: fix nsp code for single emac case
if driver is in single emac mode, then nsp code will crash because
there is no check for emac ptr. So fix it by adding a check for
null ptr.
Signed-off-by:
Murali Karicheri <m-karicheri2@ti.com>
Please register or sign in to comment