diff options
-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, | |||
842 | case AX25_P_NETROM: | 842 | case AX25_P_NETROM: |
843 | if (ax25_protocol_is_registered(AX25_P_NETROM)) | 843 | if (ax25_protocol_is_registered(AX25_P_NETROM)) |
844 | return -ESOCKTNOSUPPORT; | 844 | return -ESOCKTNOSUPPORT; |
845 | break; | ||
845 | #endif | 846 | #endif |
846 | #ifdef CONFIG_ROSE_MODULE | 847 | #ifdef CONFIG_ROSE_MODULE |
847 | case AX25_P_ROSE: | 848 | case AX25_P_ROSE: |