]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Bluetooth: Add l2cap_chan_no_resume stub for A2MP
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 15 Oct 2013 23:47:11 +0000 (16:47 -0700)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Tue, 15 Oct 2013 23:50:41 +0000 (20:50 -0300)
The A2MP client for L2CAP channels needs to use l2cap_chan_no_resume
empty stub function.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
include/net/bluetooth/l2cap.h
net/bluetooth/a2mp.c

index 377db2aa89f97dba24bb13a971cc9b990f3f8009..3d922b938141a2e44b2931ea24d606fb9f343d78 100644 (file)
@@ -797,6 +797,10 @@ static inline void l2cap_chan_no_defer(struct l2cap_chan *chan)
 {
 }
 
+static inline void l2cap_chan_no_resume(struct l2cap_chan *chan)
+{
+}
+
 static inline void l2cap_chan_no_set_shutdown(struct l2cap_chan *chan)
 {
 }
index 74c14779bed6d8e14aacaab57688351bcd31f25c..fe32a334a52d85002c28205f861736093acf8adb 100644 (file)
@@ -710,6 +710,7 @@ static struct l2cap_ops a2mp_chan_ops = {
        .teardown = l2cap_chan_no_teardown,
        .ready = l2cap_chan_no_ready,
        .defer = l2cap_chan_no_defer,
+       .resume = l2cap_chan_no_resume,
        .set_shutdown = l2cap_chan_no_set_shutdown,
        .get_sndtimeo = l2cap_chan_no_get_sndtimeo,
 };