|
@@ -435,6 +435,7 @@ void l2cap_chan_close(struct l2cap_chan *chan, int reason)
|
|
result = L2CAP_CR_SEC_BLOCK;
|
|
result = L2CAP_CR_SEC_BLOCK;
|
|
else
|
|
else
|
|
result = L2CAP_CR_BAD_PSM;
|
|
result = L2CAP_CR_BAD_PSM;
|
|
|
|
+ sk->sk_state = BT_DISCONN;
|
|
|
|
|
|
rsp.scid = cpu_to_le16(chan->dcid);
|
|
rsp.scid = cpu_to_le16(chan->dcid);
|
|
rsp.dcid = cpu_to_le16(chan->scid);
|
|
rsp.dcid = cpu_to_le16(chan->scid);
|