aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wan/c101.c2
-rw-r--r--drivers/net/wan/n2.c2
-rw-r--r--drivers/net/wan/pci200syn.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wan/c101.c b/drivers/net/wan/c101.c
index 0bd898c94759..4ac85a09c5a6 100644
--- a/drivers/net/wan/c101.c
+++ b/drivers/net/wan/c101.c
@@ -264,7 +264,7 @@ static int c101_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
264 new_line.clock_type != CLOCK_TXFROMRX && 264 new_line.clock_type != CLOCK_TXFROMRX &&
265 new_line.clock_type != CLOCK_INT && 265 new_line.clock_type != CLOCK_INT &&
266 new_line.clock_type != CLOCK_TXINT) 266 new_line.clock_type != CLOCK_TXINT)
267 return -EINVAL; /* No such clock setting */ 267 return -EINVAL; /* No such clock setting */
268 268
269 if (new_line.loopback != 0 && new_line.loopback != 1) 269 if (new_line.loopback != 0 && new_line.loopback != 1)
270 return -EINVAL; 270 return -EINVAL;
diff --git a/drivers/net/wan/n2.c b/drivers/net/wan/n2.c
index 5394b51bdb2f..7a3720f09ce3 100644
--- a/drivers/net/wan/n2.c
+++ b/drivers/net/wan/n2.c
@@ -282,7 +282,7 @@ static int n2_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
282 new_line.clock_type != CLOCK_TXFROMRX && 282 new_line.clock_type != CLOCK_TXFROMRX &&
283 new_line.clock_type != CLOCK_INT && 283 new_line.clock_type != CLOCK_INT &&
284 new_line.clock_type != CLOCK_TXINT) 284 new_line.clock_type != CLOCK_TXINT)
285 return -EINVAL; /* No such clock setting */ 285 return -EINVAL; /* No such clock setting */
286 286
287 if (new_line.loopback != 0 && new_line.loopback != 1) 287 if (new_line.loopback != 0 && new_line.loopback != 1)
288 return -EINVAL; 288 return -EINVAL;
diff --git a/drivers/net/wan/pci200syn.c b/drivers/net/wan/pci200syn.c
index e2cff64a446a..fd7375955e41 100644
--- a/drivers/net/wan/pci200syn.c
+++ b/drivers/net/wan/pci200syn.c
@@ -220,7 +220,7 @@ static int pci200_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
220 new_line.clock_type != CLOCK_TXFROMRX && 220 new_line.clock_type != CLOCK_TXFROMRX &&
221 new_line.clock_type != CLOCK_INT && 221 new_line.clock_type != CLOCK_INT &&
222 new_line.clock_type != CLOCK_TXINT) 222 new_line.clock_type != CLOCK_TXINT)
223 return -EINVAL; /* No such clock setting */ 223 return -EINVAL; /* No such clock setting */
224 224
225 if (new_line.loopback != 0 && new_line.loopback != 1) 225 if (new_line.loopback != 0 && new_line.loopback != 1)
226 return -EINVAL; 226 return -EINVAL;