Revision d53e292f0f505783d0219f58f8f8f294f45f4ee6 authored by Long Li on 15 March 2019, 07:54:59 UTC, committed by Steve French on 23 March 2019, 03:36:54 UTC
When sending a wdata, transport may return -EAGAIN. In this case
we should re-obtain credits because the session may have been
reconnected.

Change in v2: adjust_credits before re-sending

Signed-off-by: Long Li <longli@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
1 parent a5ed1e9
History
File Mode Size
bnep
cmtp
hidp
rfcomm
6lowpan.c -rw-r--r-- 28.0 KB
Kconfig -rw-r--r-- 3.8 KB
Makefile -rw-r--r-- 720 bytes
a2mp.c -rw-r--r-- 21.8 KB
a2mp.h -rw-r--r-- 3.6 KB
af_bluetooth.c -rw-r--r-- 17.3 KB
amp.c -rw-r--r-- 14.3 KB
amp.h -rw-r--r-- 2.3 KB
ecdh_helper.c -rw-r--r-- 5.9 KB
ecdh_helper.h -rw-r--r-- 1.4 KB
hci_conn.c -rw-r--r-- 43.1 KB
hci_core.c -rw-r--r-- 106.8 KB
hci_debugfs.c -rw-r--r-- 24.7 KB
hci_debugfs.h -rw-r--r-- 1.6 KB
hci_event.c -rw-r--r-- 141.2 KB
hci_request.c -rw-r--r-- 70.5 KB
hci_request.h -rw-r--r-- 5.1 KB
hci_sock.c -rw-r--r-- 44.4 KB
hci_sysfs.c -rw-r--r-- 2.2 KB
l2cap_core.c -rw-r--r-- 180.0 KB
l2cap_sock.c -rw-r--r-- 36.7 KB
leds.c -rw-r--r-- 2.4 KB
leds.h -rw-r--r-- 700 bytes
lib.c -rw-r--r-- 3.3 KB
mgmt.c -rw-r--r-- 195.6 KB
mgmt_util.c -rw-r--r-- 6.2 KB
mgmt_util.h -rw-r--r-- 2.2 KB
sco.c -rw-r--r-- 24.4 KB
selftest.c -rw-r--r-- 8.5 KB
selftest.h -rw-r--r-- 1.6 KB
smp.c -rw-r--r-- 94.6 KB
smp.h -rw-r--r-- 5.0 KB

back to top