diff options
Diffstat (limited to 'patches/collateral-evolutions/network/16-bluetooth/net_bluetooth_cmtp_capi.patch')
-rw-r--r-- | patches/collateral-evolutions/network/16-bluetooth/net_bluetooth_cmtp_capi.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/patches/collateral-evolutions/network/16-bluetooth/net_bluetooth_cmtp_capi.patch b/patches/collateral-evolutions/network/16-bluetooth/net_bluetooth_cmtp_capi.patch new file mode 100644 index 00000000..25a51dcc --- /dev/null +++ b/patches/collateral-evolutions/network/16-bluetooth/net_bluetooth_cmtp_capi.patch @@ -0,0 +1,14 @@ +--- a/net/bluetooth/cmtp/capi.c ++++ b/net/bluetooth/cmtp/capi.c +@@ -384,7 +384,11 @@ + + BT_DBG("ctrl %p", ctrl); + ++#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,30)) + capi_ctr_down(ctrl); ++#else ++ capi_ctr_reseted(ctrl); ++#endif + + atomic_inc(&session->terminate); + wake_up_process(session->task); |