commit | 029727a39a4316c081347749d5c25f76d5eb891c | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Mon Oct 07 14:44:48 2013 +0200 |
committer | Marcel Holtmann <marcel@holtmann.org> | Thu Dec 05 07:05:35 2013 -0800 |
tree | 800d5ca871a647867c501ccfa8ab9bbc46fe5efe | |
parent | 595177f311f5d42804f729e927f7eac87bbcc21b [diff] |
Bluetooth: Fix suspending the L2CAP socket if we start with 0 credits If the peer gives us zero credits in its connection request or response we must call the suspend channel callback so the BT_SK_SUSPEND flag gets set and user space is blocked from sending data to the socket. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>