Re: [PATCH net] drivers/net/wan/x25_asy: Correct the ndo_open and ndo_stop functions

2020-09-22 Thread Xie He
Sorry. I wish to drop the 3rd part (the 3rd point in the commit message) and re-send this patch. I'll re-address the problem discussed in the 3rd point in future patches.

[PATCH net] drivers/net/wan/x25_asy: Correct the ndo_open and ndo_stop functions

2020-09-22 Thread Xie He
1. Move the lapb_register/lapb_unregister calls into the ndo_open/ndo_stop functions in x25_asy_netdev_ops. This makes the LAPB protocol start/stop when the network interface starts/stops. When the network interface is down, the LAPB protocol shouldn't be running and the LAPB module shoudn't be gen