summaryrefslogtreecommitdiff
path: root/patches/collateral-evolutions/network/16-bluetooth/net_bluetooth_bnep_sock.patch
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2013-03-31 23:12:42 +0200
committerJohannes Berg <johannes@sipsolutions.net>2013-03-31 23:12:42 +0200
commitcf2b28bd1642305515171f6d70b9f033c4e064e5 (patch)
treec8dd3ece975ea57d009ff08be3cb9d63bf46f6a5 /patches/collateral-evolutions/network/16-bluetooth/net_bluetooth_bnep_sock.patch
parent445920189178de0b338fc5fa6f3d52035f58c778 (diff)
rename patch files to .patch
They can be named after the C files they apply to, but they should still be named .patch. Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Diffstat (limited to 'patches/collateral-evolutions/network/16-bluetooth/net_bluetooth_bnep_sock.patch')
-rw-r--r--patches/collateral-evolutions/network/16-bluetooth/net_bluetooth_bnep_sock.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/patches/collateral-evolutions/network/16-bluetooth/net_bluetooth_bnep_sock.patch b/patches/collateral-evolutions/network/16-bluetooth/net_bluetooth_bnep_sock.patch
new file mode 100644
index 00000000..13e1f1bc
--- /dev/null
+++ b/patches/collateral-evolutions/network/16-bluetooth/net_bluetooth_bnep_sock.patch
@@ -0,0 +1,15 @@
+--- a/net/bluetooth/bnep/sock.c
++++ b/net/bluetooth/bnep/sock.c
+@@ -186,8 +186,12 @@
+ .obj_size = sizeof(struct bt_sock)
+ };
+
++#if defined(CONFIG_COMPAT_BT_SOCK_CREATE_NEEDS_KERN)
+ static int bnep_sock_create(struct net *net, struct socket *sock, int protocol,
+ int kern)
++#else
++static int bnep_sock_create(struct net *net, struct socket *sock, int protocol)
++#endif
+ {
+ struct sock *sk;
+