summaryrefslogtreecommitdiffstats
path: root/net/ax25/af_ax25.c
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2012-07-13 06:33:08 +0000
committerDavid S. Miller <davem@davemloft.net>2012-07-16 23:22:36 -0700
commitef764a13b8f4bc4b532a51bc37c35b3974831b29 (patch)
treec3c0d1e2bc31899e9d4ed690041fca4346875af8 /net/ax25/af_ax25.c
parent68653359beb59014b88e4f297e467730a1680996 (diff)
downloadlinux-ef764a13b8f4bc4b532a51bc37c35b3974831b29.tar.bz2
ax25: Fix missing break
At least there seems to be no reason to disallow ROSE sockets when NETROM is loaded. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ax25/af_ax25.c')
-rw-r--r--net/ax25/af_ax25.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ax25/af_ax25.c b/net/ax25/af_ax25.c
index 051f7abae66d..779095ded689 100644
--- a/net/ax25/af_ax25.c
+++ b/net/ax25/af_ax25.c
@@ -842,6 +842,7 @@ static int ax25_create(struct net *net, struct socket *sock, int protocol,
case AX25_P_NETROM:
if (ax25_protocol_is_registered(AX25_P_NETROM))
return -ESOCKTNOSUPPORT;
+ break;
#endif
#ifdef CONFIG_ROSE_MODULE
case AX25_P_ROSE: