projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
209970a
)
Revert "Bluetooth: Do not attempt to send dlci disconnect when in BT_CONFIG."
author
黄涛
<huangtao@rock-chips.com>
Sat, 30 Jul 2011 14:41:07 +0000
(22:41 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Sat, 30 Jul 2011 14:41:07 +0000
(22:41 +0800)
This reverts commit
8a4424765e8daaf56a2d8a0e0ab9dfcf859879fa
.
net/bluetooth/rfcomm/core.c
patch
|
blob
|
history
diff --git
a/net/bluetooth/rfcomm/core.c
b/net/bluetooth/rfcomm/core.c
index f224b2db0249d78a10bb5e0b940620e83a05aba3..25692bc0a3423bb78058a9bde2b8e2479eee5b3e 100755
(executable)
--- a/
net/bluetooth/rfcomm/core.c
+++ b/
net/bluetooth/rfcomm/core.c
@@
-459,6
+459,7
@@
static int __rfcomm_dlc_close(struct rfcomm_dlc *d, int err)
switch (d->state) {
case BT_CONNECT:
+ case BT_CONFIG:
if (test_and_clear_bit(RFCOMM_DEFER_SETUP, &d->flags)) {
set_bit(RFCOMM_AUTH_REJECT, &d->flags);
rfcomm_schedule(RFCOMM_SCHED_AUTH);