diff options
author | Alan Cox <alan@linux.intel.com> | 2012-07-13 08:33:08 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-17 08:22:36 +0200 |
commit | ef764a13b8f4bc4b532a51bc37c35b3974831b29 (patch) | |
tree | c3c0d1e2bc31899e9d4ed690041fca4346875af8 /net/ax25/af_ax25.c | |
parent | MAINTAINERS: reflect actual changes in IEEE 802.15.4 maintainership (diff) | |
download | linux-ef764a13b8f4bc4b532a51bc37c35b3974831b29.tar.xz linux-ef764a13b8f4bc4b532a51bc37c35b3974831b29.zip |
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.c | 1 |
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: |