]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcba0c752cc53cd8dccd319134b03fdfe1ef97b12
tree476f1863bbf3c486f750df31578802c4ccc21c11
parent51be44be493b463c875e1b24306fa8c43e7119a2
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: 29db29f3a202 ("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