net: caif: fix double disconnect client in chnl_net_open()
authorZhengchao Shao <shaozhengchao@huawei.com>
Fri, 11 Nov 2022 01:47:34 +0000 (09:47 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Nov 2022 10:51:13 +0000 (10:51 +0000)
commit8fbb53c8bfd8c56ecf1f78dc821778b58f505503
tree476f1863bbf3c486f750df31578802c4ccc21c11
parent5df1341ea822292275c56744aab9c536d75c33be
net: caif: fix double disconnect client in chnl_net_open()

When connecting to client timeout, disconnect client for twice in
chnl_net_open(). Remove one. Compile tested only.

Fixes: 2aa40aef9deb ("caif: Use link layer MTU instead of fixed MTU")
Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/caif/chnl_net.c