diff options
Diffstat (limited to 'net/batman-adv/gateway_common.c')
-rw-r--r-- | net/batman-adv/gateway_common.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/batman-adv/gateway_common.c b/net/batman-adv/gateway_common.c index c4ac7b0a2a63..3ccb9c87fd19 100644 --- a/net/batman-adv/gateway_common.c +++ b/net/batman-adv/gateway_common.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) 2009-2011 B.A.T.M.A.N. contributors: | 2 | * Copyright (C) 2009-2012 B.A.T.M.A.N. contributors: |
3 | * | 3 | * |
4 | * Marek Lindner | 4 | * Marek Lindner |
5 | * | 5 | * |
@@ -93,7 +93,7 @@ static bool parse_gw_bandwidth(struct net_device *net_dev, char *buff, | |||
93 | multi = 1024; | 93 | multi = 1024; |
94 | 94 | ||
95 | if ((strnicmp(tmp_ptr, "kbit", 4) == 0) || | 95 | if ((strnicmp(tmp_ptr, "kbit", 4) == 0) || |
96 | (multi > 1)) | 96 | (multi > 1)) |
97 | *tmp_ptr = '\0'; | 97 | *tmp_ptr = '\0'; |
98 | } | 98 | } |
99 | 99 | ||
@@ -118,7 +118,7 @@ static bool parse_gw_bandwidth(struct net_device *net_dev, char *buff, | |||
118 | multi = 1024; | 118 | multi = 1024; |
119 | 119 | ||
120 | if ((strnicmp(tmp_ptr, "kbit", 4) == 0) || | 120 | if ((strnicmp(tmp_ptr, "kbit", 4) == 0) || |
121 | (multi > 1)) | 121 | (multi > 1)) |
122 | *tmp_ptr = '\0'; | 122 | *tmp_ptr = '\0'; |
123 | } | 123 | } |
124 | 124 | ||