linux/drivers/net/wan
Xie He 3b0c860f87 net: lapbether: Consider it successful if (dis)connecting when already (dis)connected
When the upper layer instruct us to connect (or disconnect), but we have
already connected (or disconnected), consider this operation successful
rather than failed.

This can help the upper layer to correct its record about whether we are
connected or not here in layer 2.

The upper layer may not have the correct information about whether we are
connected or not. This can happen if this driver has already been running
for some time when the "x25" module gets loaded.

Another X.25 driver (hdlc_x25) is already doing this, so we make this
driver do this, too.

Cc: Martin Schiller <ms@dev.tdt.de>
Signed-off-by: Xie He <xie.he.0141@gmail.com>
Acked-by: Martin Schiller <ms@dev.tdt.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-12-10 13:18:28 -08:00
..
lmc drivers: net: wan: lmc: Fix W=1 set but used variable warnings 2020-11-02 16:04:34 -08:00
.gitignore
Kconfig net: wan: Delete the DLCI / SDLA drivers 2020-11-17 13:33:29 -08:00
Makefile net: wan: Delete the DLCI / SDLA drivers 2020-11-17 13:33:29 -08:00
c101.c
cosa.c cosa: Add missing kfree in error path of cosa_write 2020-11-11 17:52:01 -08:00
cosa.h
farsync.c
farsync.h
fsl_ucc_hdlc.c
fsl_ucc_hdlc.h
hd64570.c
hd64570.h
hd64572.c
hd64572.h
hdlc.c
hdlc_cisco.c
hdlc_fr.c net: hdlc_fr: Add support for any Ethertype 2020-11-03 15:19:21 -08:00
hdlc_ppp.c
hdlc_raw.c
hdlc_raw_eth.c net: hdlc_raw_eth: Clear the IFF_TX_SKB_SHARING flag after calling ether_setup 2020-10-21 17:58:26 -07:00
hdlc_x25.c net: hdlc_x25: Remove unnecessary skb_reset_network_header calls 2020-12-09 19:22:48 -08:00
hostess_sv11.c
ixp4xx_hss.c
lapbether.c net: lapbether: Consider it successful if (dis)connecting when already (dis)connected 2020-12-10 13:18:28 -08:00
n2.c
pc300too.c
pci200syn.c net: wan: remove trailing semicolon in macro definition 2020-11-30 18:58:31 -08:00
sbni.c
sbni.h
sealevel.c
slic_ds26522.c
slic_ds26522.h
wanxl.c
wanxl.h
wanxlfw.S
wanxlfw.inc_shipped
z85230.c
z85230.h