From: Fabio Estevam
Date: Mon, 10 Aug 2015 14:22:43 -0300
> If register_netdev() fails we are not propagating the error and
> we return success because ax_open() succeeded previously.
>
> Fix this by checking the return value of ax_open() and
> register_netdev() and propagate the error in case
If register_netdev() fails we are not propagating the error and
we return success because ax_open() succeeded previously.
Fix this by checking the return value of ax_open() and
register_netdev() and propagate the error in case of failure.
Reported-by: RUC_Soft_Sec
Signed-off-by: Fabio Estevam