diff options
Diffstat (limited to 'net/batman-adv/gateway_common.c')
-rw-r--r-- | net/batman-adv/gateway_common.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/net/batman-adv/gateway_common.c b/net/batman-adv/gateway_common.c index b211b0f9cb78..6f5e621f220a 100644 --- a/net/batman-adv/gateway_common.c +++ b/net/batman-adv/gateway_common.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* Copyright (C) 2009-2013 B.A.T.M.A.N. contributors: | 1 | /* Copyright (C) 2009-2014 B.A.T.M.A.N. contributors: |
2 | * | 2 | * |
3 | * Marek Lindner | 3 | * Marek Lindner |
4 | * | 4 | * |
@@ -12,9 +12,7 @@ | |||
12 | * General Public License for more details. | 12 | * General Public License for more details. |
13 | * | 13 | * |
14 | * You should have received a copy of the GNU General Public License | 14 | * You should have received a copy of the GNU General Public License |
15 | * along with this program; if not, write to the Free Software | 15 | * along with this program; if not, see <http://www.gnu.org/licenses/>. |
16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | ||
17 | * 02110-1301, USA | ||
18 | */ | 16 | */ |
19 | 17 | ||
20 | #include "main.h" | 18 | #include "main.h" |
@@ -164,7 +162,7 @@ ssize_t batadv_gw_bandwidth_set(struct net_device *net_dev, char *buff, | |||
164 | if ((down_curr == down_new) && (up_curr == up_new)) | 162 | if ((down_curr == down_new) && (up_curr == up_new)) |
165 | return count; | 163 | return count; |
166 | 164 | ||
167 | batadv_gw_deselect(bat_priv); | 165 | batadv_gw_reselect(bat_priv); |
168 | batadv_info(net_dev, | 166 | batadv_info(net_dev, |
169 | "Changing gateway bandwidth from: '%u.%u/%u.%u MBit' to: '%u.%u/%u.%u MBit'\n", | 167 | "Changing gateway bandwidth from: '%u.%u/%u.%u MBit' to: '%u.%u/%u.%u MBit'\n", |
170 | down_curr / 10, down_curr % 10, up_curr / 10, up_curr % 10, | 168 | down_curr / 10, down_curr % 10, up_curr / 10, up_curr % 10, |